博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  Oracle DataBase

摘要:SQL中使用了别名X 或者 Y,修改别名即可解决。可参见链接: http://oracleseeker.com/2009/08/15/raise_ora-06553_ogc_x_error_in_oracle_form/#more-1184 阅读全文

posted @ 2010-09-09 16:39 幸福人生 阅读(4799) 评论(0) 推荐(0)

摘要:1 有2个表结构如下:A表结构Id  value1  102  203  304  305  306  207 40B表结构Id column2  aaa3  bbb4 ccc5 ddd9  eeeA表和B表ID关联以后,取出A表value最大的所有记录结果:ID  Value  column3   30    bbb4   30    ccc530    dddselect * from A,B... 阅读全文

posted @ 2010-09-08 14:41 幸福人生 阅读(9754) 评论(2) 推荐(0)

摘要://首先找到所有cons物件select object_name from all_objects where object_name like '%CONSTRAINT%';//找出constraint错误具体的object,找出记录删除之。搞定收工select * from ALL_CONSTRAINTS where constraint_name='SYS_C0042235' 阅读全文

posted @ 2010-06-17 10:57 幸福人生 阅读(374) 评论(0) 推荐(0)

摘要:ora-01086 Oracle Error Reason and SolutionIt may be because you're executing it all as one batch.The DBMS has to parse eveything at once, and create a planfor it. At compile time there is no savepoint... 阅读全文

posted @ 2010-06-17 10:56 幸福人生 阅读(2088) 评论(0) 推荐(0)