花费 70 ms
not in和not exists区别

如果查询语句使用了not in 那么内外表都进行全表扫描,没有用到索引; 而not extsts 的子查询依然能用到表上的索引。 所以无论那个表大,用not exists都比not in要快。 也就是 ...

Wed Jun 13 15:16:00 CST 2018 0 11965
Oracle--存储过程中之循环语句

一般循环语句有两种: 1)使用for循环实现 declare cursor cur is select * from tablename; aw_row tablename%rowt ...

Thu Dec 14 01:06:00 CST 2017 0 8556
sqlcode与sqlerrm的区别

sqlCode:是数据库操作的返回码,其中0--成功;-1--失败;100--没有检索到数据。 sqlerrm:是数返回指定错误代码的错误信息。 在一个内在的异常中,SQLCODE返回Oracl ...

Tue Dec 12 22:23:00 CST 2017 0 2964

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM