摘要:1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num...
阅读全文
12 2014 档案
摘要:1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num...
阅读全文
摘要:如果你用pe启动光盘和pe启动盘。加载iso安装时遇到"我们无法创建新的分区,也找不到现有的分区"的情况.。把iso里的boot和bootgmr以及sources复制到c盘,pe下,开始菜单,运行,cmd,输入"C:\boot\bootsect.exe/nt60c:",(/nt60前,后各有空格),...
阅读全文
摘要:SQL Server Management Studio登陆窗口 清空这些多余的登陆名主要是删除SqlStudio.bin文件WinXP:C:\Documents and Settings\用户文件夹\Application Data\Microsoft\Microsoft SQL Server\1...
阅读全文
|