I am looking for to print two variables of same datatype I have something like this
declare @one int ,@two int
set @one=1
set @two=2
print @one+@two
obviously it will give a result 3 but I need result 1 2
On search I got to convert the any one of these variable and come up this query.
print convert(varchar(10),@one)+@two
but the result was same 3!! What should I do,to get the result? NB :I am using sql server
