标签: sql sql-server sql-server-2012 ssms ssms-2012
为什么这种类型的工作在SSMS中并且不会产生波形或运行时错误?
DECLARE @counter integer SET @counter = 42 WHILE @counter < 52 BEGIN set @counter = @counter++++++++ + 1 PRINT 'The counter is ' + cast(@counter as char) END