PRINT command : Print « Transact SQL « SQL Server / T-SQL Tutorial






6> PRINT 'Hello World'
7> GO
Hello World
1>
2>








20.6.Print
20.6.1.PRINT command
20.6.2.Printing with variables.
20.6.3.Print debug string out of a code block
20.6.4.PRINT 'Today is ' + CONVERT(char(30), GETDATE())
20.6.5.PRINT string_expression