Is there a way to print out message like with VBScript's MsgBox() but in SQL? This would be for debugging my SQL code; as an example I'd like to do something like this (but I need the SQL equivalent):
msgBox 'This is true!'
msgBox 'This is false!"
I've tried the PRINT command in SQL but nothing happens or at least I'm not sure where it gets printed to? I'd prefer something like a message box. Any ideas?