02 2016 档案
摘要:SELECT creation_time N'语句编译时间' ,last_execution_time N'上次执行时间' ,total_physical_reads N'物理读取总次数' ,total_logical_reads/execution_count N'每次逻辑读次数' ,total_
阅读全文
摘要:/******************************************************************************************************* SQL SERVER 2005 - Tell me your secrets! *****
阅读全文
摘要:通常的写法: if(select count(1) from table where id=XXX)=0 insert into XXX else update table set xxx where id=XXX 优化后的写法: update table set xxx where id=XXX
阅读全文