'Incorrect SET Options' Error When Building Database Project

后端 未结 6 1510
长情又很酷
长情又很酷 2020-12-03 01:02

We are using Visual Studio and a database project to generate our database.

I just made a number of database changes (including adding a new table named Corres

6条回答
  •  孤城傲影
    2020-12-03 01:28

    I had the same issue with the filtered index and my inserts and updates were failing. All I did was to change the stored procedure that had the insert and update statement to:

    create procedure abc
    ()
    AS
    BEGIN
    SET NOCOUNT ON
    SET NUMERIC_ROUNDABORT OFF
    SET CONCAT_NULL_YIELDS_NULL ON 
    SET ANSI_WARNINGS ON 
    SET ANSI_PADDING ON 
    end
    

提交回复
热议问题