print integer and string in sql

Solutions on MaxInterview for print integer and string in sql by the best coders in the world

showing results for - "print integer and string in sql"
Arianna
26 Nov 2018
1declare @x INT = 1 /* Declares an integer variable named "x" with the value of 1 */
2    
3PRINT 'There are ' + CAST(@x AS VARCHAR) + ' alias combinations did not match a record' /* Prints a string concatenated with x casted as a varchar */
4
Sarah
29 Jun 2018
1print 'There are ' + convert(varchar,@Number) + ' alias combinations did not match a record'
Paulina
28 May 2017
1print 'There are ' + cast(@Number as varchar) + ' alias combinations did not match a record'