Check out example codes for "sql query print strings and int". It will help you in understanding the concepts better.

Code Example 1

print 'There are ' + convert(varchar,@Number) + ' alias combinations did not match a record'

Code Example 2

print 'There are ' + cast(@Number as varchar) + ' alias combinations did not match a record'

Learn ReactJs, React Native from akashmittal.com