Answers for "SQL print multiple variable"

SQL
0

Cast for print sql

declare @x INT = 1 

PRINT 'There are ' + CAST(@x AS VARCHAR) + ' alias combinations did not match a record'
Posted by: Guest on March-31-2020
0

SQL print multiple variable

declare @first INT = 1, @second int = 2
PRINT '1st var ' + CAST(@first AS VARCHAR) + ' 2nd var ' + CAST(@second AS VARCHAR)
Posted by: Guest on April-01-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language