主题:怪异问题!!大家来看看!!
declare @ziduann char(1)
select @ziduann='1'
loopx:
select @ziduann=@ziduann+1
while @ziduann<9
print @ziduann ——*
goto loopx
执行是死循环
declare @ziduann char(1)
select @ziduann='1'
loopx:
print @ziduann ——*
select @ziduann=@ziduann+1
while @ziduann<9
goto loopx
就能正常运行,
只不过把*语句换了个位置而已[em18]
为什么啊?
select @ziduann='1'
loopx:
select @ziduann=@ziduann+1
while @ziduann<9
print @ziduann ——*
goto loopx
执行是死循环
declare @ziduann char(1)
select @ziduann='1'
loopx:
print @ziduann ——*
select @ziduann=@ziduann+1
while @ziduann<9
goto loopx
就能正常运行,
只不过把*语句换了个位置而已[em18]
为什么啊?