摘要:
不必借助监控程序(例如WIndows的性能计数器或SQL Server Profiler),SqlConnection也能获取T SQL的执行状态,结果可用于性能分析。程序片断如下:...... sConn.StatisticsEnabled = true;if (!string.IsNullOrEmpty(iSQL)) { using (SqlCommand iCmd=new SqlComma... 阅读全文
posted @ 2008-05-10 22:07
炭炭
阅读(586)
评论(0)
推荐(0)
浙公网安备 33010602011771号