我改成 fetch c1 into @e while @@Sqlstatus=0 但是显示 Server Message: Number 7412, Severity 10 Procedure 'test', Line 31: Space available in the log segment has fallen critically low in database 'tempdb'. All future modifications to this database will be suspended until the log is successfully dumped and space becomes available. Server Message: Number 7415, Severity 10 Procedure 'test', Line 31: The transaction log in database tempdb is almost full. Your transaction is being suspended until space is made available in the log.
while @@Sqlstatus=0
查查它的帮助吧
语言上的出入
fetch c1 into @e
while @@Sqlstatus=0
但是显示
Server Message: Number 7412, Severity 10
Procedure 'test', Line 31:
Space available in the log segment has fallen critically low in database 'tempdb'. All future modifications to this database will be suspended until the log is successfully dumped and space becomes available.
Server Message: Number 7415, Severity 10
Procedure 'test', Line 31:
The transaction log in database tempdb is almost full. Your transaction is being suspended until space is made available in the log.