4
Answers

sql server -for ^ please provide explanation about ^

what will be output of this query?

declare @a int declare @b int set @a=5 set @b=11

select @a=@a^@b,@b=@b^@a,@a=@a^@b

print '@a='+convert(var char, @a)

print '@b='+convert(var char,@b)

Answers (4)