Skip to content
  • About

Brett W. Green's On the Contrary

This is my blog. There are many like it but this one is mine.

Tag: SQL Server

The coolest SQL Server function you never heard of

Ever heard of the SQL_VARIANT_PROPERTY function? I didn’t think so. SQL Server developers very often make the mistake of making their NUMERIC fields too large. When faced with a choice of how to size the column, they’ll often think “make it way larger than I need to be safe”. This works OK as long as… Read More The coolest SQL Server function you never heard of

May 8, 2013 Brett W Green3 Comments

Reading from Snapshot Databases With Multiple Tables

If you haven’t explored using Snapshot isolation in SQL Server, I recommend you give it a look. A snapshot enabled database allows the reader to get  a clean read without blocking. Prior to this capability, the only way to guarantee a non-blocking read from the database was to sprinkle NOLOCK statements all over your queries.… Read More Reading from Snapshot Databases With Multiple Tables

March 21, 2013 Brett W Green1 Comment

Find stored procedures that won’t compile

Here’s a handy little code snippet.  Find any stored procedures that won’t compile on SQL Server. The routine will list all procedures, showing ‘– Failed’ with the error messages for those that fail. Note that recompiling the procedures may also throw dependency errors also that can’t be caught with try/catch block … these errors likely… Read More Find stored procedures that won’t compile

December 4, 2012 Brett W Green2 Comments

Links

  • My 500px photos
  • Stack Overflow Profile

My tweets

My Tweets

Top Posts & Pages

  • Management by PowerPoint
  • Build a testing database with SSDT and NuGet

Archives

  • March 2020
  • February 2017
  • September 2016
  • June 2016
  • February 2015
  • May 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • July 2012
Blog at WordPress.com.
  • Follow Following
    • Brett W. Green's On the Contrary
    • Already have a WordPress.com account? Log in now.
    • Brett W. Green's On the Contrary
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...