title: PRINT statement in T-SQL
body: <p>Why does the PRINT statement in T-SQL seem to only sometimes work?  What are the constraints on using it?  It seems sometimes if a result set is generated, it becomes a null function, I assumed to prevent corrupting the resultset, but could it's output not go out in another result set, such as the row count?</p>