随笔分类 -  Oracle

摘要:ORA-01795: maximum number of expressions in a list is 1000 Oracle 的in query list 的大小要不大于1000, 可以才采用分组query。 阅读全文
posted @ 2017-07-18 14:52 二更 阅读(3157) 评论(0) 推荐(0)
摘要:to_timestamp: select to_timestamp('2012-12-31', 'yyyy-mm-dd hh12.mi.ss') from dual; result: 31-DEC-12 12.00.00.000000000 AM to_date select to_date(sys 阅读全文
posted @ 2017-07-11 14:06 二更 阅读(540) 评论(0) 推荐(0)
摘要:ORACLE: 1、查主键名称: select * from user_constraints where table_name = 'AAA' and constraint_type ='P'; 查主键对应的列: select * from user_cons_columns where tabl 阅读全文
posted @ 2017-07-03 10:43 二更 阅读(22875) 评论(0) 推荐(0)