标签: if-statement triggers raiseerror
运行关于租金的更新语句后,我没有出现引发的错误
Begin if (@check is not null) Begin try raiserror ('MOVIE HAS BEEN CHECKED IN AT AN EARLIER TIME',20,1) with log ; end try begin catch select error_message() end catch end