I often keep multiple utility/investigation queries in the same file, too, and handle them similarly, but I like to make blocks inactive using "if 1...
I thought it was a trick question because the "none of the above" answer was provided, and "column" (without quotes) is a syntax error, not a valid column name. So...
Good article, Nakul, with thorough tests. Thanks for posting.
One small quibble: ansi_warnings is actually respected inside stored procedures. The behavior you demonstrated occurs because SQL Server doesn't raise errors (regardless...