“Operation is not allowed when the object is closed” when executing stored procedure

后端 未结 7 691
猫巷女王i
猫巷女王i 2020-12-20 11:12

This is my stored procedure, and when I am calling it from my classic ASP code, I am getting the error:

Operation is not allowed when the object is c

7条回答
  •  北海茫月
    2020-12-20 11:49

    Try this in your stored procedure:

    SET NOCOUNT ON
    SET ANSI_WARNINGS OFF
    

    Right below the AS.

提交回复
热议问题