Kyle_Ping 2021-11-05 16:49 采纳率: 100%
浏览 20
已结题

SQL Server 执行语句报556错误

有一个需求,需要将存储过程的结果集插入到临时表中,执行完后,报错556,不知道此错误应如何解决。
错误信息具体如下:

Msg 556, Level 16, State 3, Line 25
INSERT EXEC failed because the stored procedure altered the schema of the target table.

这是插入的代码:

insert into ##tmp
exec p_xxxxx
  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 11月13日
    • 创建了问题 11月5日