HomeLangTsqlScript
Table of Contents
Declare @x int set @x = 1 if @x = 1 print 'The number is '+convert(varchar,@x) select @x = 2 if @x = 2 print 'The number is '+convert(varchar,@x)
The number is 1 The number is 2