欢迎来到我的地盘:今天是

若得山花插满头,莫问奴归处!

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

2012年11月26日

摘要: oracle中查询、禁用、启用、删除表外键1.查询所有表的外键的:select table_name, constraint_name from user_constraints where constraint_type = 'R';2.禁用所有外键约束, 使用下面的sql生成对应sql脚本:select 'alter table ' || table_name || ' disable constraint ' || constraint_name || ';' from user_constraints where cons 阅读全文
posted @ 2012-11-26 11:30 莫问奴归处 阅读(9666) 评论(0) 推荐(0) 编辑

摘要: =LEFT(I2,FIND("°",I2)-1)+(MID(I2,FIND("°",I2)+1,FIND("′",I2)-FIND("°",I2)-1)+MID(I2,FIND("′",I2)+1,LEN(I2)-FIND("′",I2)-1)/60)/60 阅读全文
posted @ 2012-11-26 09:32 莫问奴归处 阅读(1553) 评论(0) 推荐(0) 编辑

轩轩娃