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.

Author: Brett W Green

Brett has been doing web development since the days of Netscape Gold, debating from the moment he left the womb, and in a love/hate relationship with CSS since 1999. Keep it Simple, Stupid! Twitter: @brettwgreen Blog: https://brettwgreen.wordpress.com

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

Motion Chart using D3.js

Ever since I saw Hans Rosling’s 2006 GapMinder TED Talk on African wealth and saw his use of Motion Charts, I’ve been looking for ways to implement this in my own websites. Up until now, there really hasn’t been anything ‘framework-y’ enough to use it with your own data. Google bought the rights from GapMinder… Read More Motion Chart using D3.js

January 16, 2013 Brett W Green9 Comments

Deming’s Seven Deadly Diseases

William Edwards Deming was sent to Japan in the early 1950’s and propagated his ideas about quality control and production process throughout Japanese industry. There’s a wealth of wisdom in Deming’s work, albeit much of it industrially focused, but I’m particularly fond of his “Seven Deadly Diseases” of management (with my comments): Lack of constancy… Read More Deming’s Seven Deadly Diseases

December 10, 2012 Brett W Green3 Comments

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

Posts navigation

Older posts
Newer posts

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...