-
IN&EXISTS与NOT IN&NOT EXISTS 的优化原则的讨论(转)
摘要:IN&EXISTS与NOT IN&NOT EXISTS 的优化原则的讨论1.EXISTS的执行流程 select * from t1 where exists ( select null from t2 where y = x )可以理解为: for x in ( select * from t1 ) loop if ( exists ( select null from t2 ...
阅读全文
-
SQL删除大量数据
摘要:truncate table TableName
阅读全文
|