-
Recent Posts
Recent Comments
Archives
- December 2017
- November 2017
- February 2017
- December 2016
- November 2016
- September 2016
- August 2016
- July 2016
- May 2016
- April 2016
- March 2016
- January 2016
- December 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- November 2014
- October 2014
- September 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
Categories
Meta
Monthly Archives: March 2016
Use ScriptDom to Parse SQL Script
Microsoft provides a ScriptDom library that you can use to parse T-SQL script. It can be used with any CLR languages to quickly write your own SQL parser. This blog uses c# in its examples. Installation First, you need to … Continue reading
Show Query Statistics in SSMS
You can turn on the statistics before executing your SQL statement. In SSMS, you can do This output the time and io statistics to the Messages tab. And you can correlate the numbers to the Execution Plan output the check … Continue reading
How to Avoid Accidentally Update All Rows
Here are just some thoughts on preventing this problem: Before sql submitted to be executed Peer Code review: Although it may be not necessary to fully review the details, a quick review can at least catch some blunt errors such … Continue reading