while id_oesod < 199905 begin tran update #eee set model_no='NO DATA' IF (select id_oesod+1 from #eee ) >= 199905 break else continue
end tran
會出現 error :
Server: Msg 135, Level 15, State 1, Line 5 Cannot use a BREAK statement outside the scope of a WHILE statement. Server: Msg 136, Level 15, State 1, Line 7 Cannot use a CONTINUE statement outside the scope of a WHILE statement.