02 2016 档案

摘要:SELECT creation_time N'语句编译时间' ,last_execution_time N'上次执行时间' ,total_physical_reads N'物理读取总次数' ,total_logical_reads/execution_count N'每次逻辑读次数' ,total_ 阅读全文
posted @ 2016-02-20 13:24 davidhou 阅读(210) 评论(0) 推荐(0) 编辑
摘要:/******************************************************************************************************* SQL SERVER 2005 - Tell me your secrets! ***** 阅读全文
posted @ 2016-02-14 16:00 davidhou 阅读(219) 评论(0) 推荐(0) 编辑
摘要:通常的写法: 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 阅读全文
posted @ 2016-02-06 16:20 davidhou 阅读(167) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示