尝试使用:
:On Error exit
:r D:\opt\db_objects\REPORTS\dbo.sp_ReportCountLORUsers.sql
...我得到:
消息 102,级别 15,状态 1,第 5 行 'U' 附近的语法不正确。** 批处理执行过程中遇到错误。退出。
我错过了什么?
尝试使用:
:On Error exit
:r D:\opt\db_objects\REPORTS\dbo.sp_ReportCountLORUsers.sql
...我得到:
消息 102,级别 15,状态 1,第 5 行 'U' 附近的语法不正确。** 批处理执行过程中遇到错误。退出。
我错过了什么?