【发布时间】:2020-09-19 15:38:28
【问题描述】:
在 Azure sql db 上的插入语句期间出现严重错误。所以我无法检查 SQL Server 日志。直到上周我还没有收到这个错误,所以我从那时起恢复了数据库,但没有运气。任何人都有关于如何查看确切错误的想法或信息?
完全错误:
A severe error occurred on the current command. The results, if any, should be discarded.
INSERT INTO [Staging].[table] ([att1],[att2])
SELECT [att1], [att2] FROM [Staging].[vw_table]".
可能的失败原因:查询有问题、“ResultSet”属性设置不正确、参数设置不正确或连接未正确建立。
【问题讨论】:
-
连接Master,可以试试运行
select * from sys.event_log
标签: azure tsql azure-sql-database