Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics

前端 未结 3 643
半阙折子戏
半阙折子戏 2020-12-20 19:39

I have checked over the whole web and couldn\'t find a solution that seems to work for me..

I have recreated my stored procedure, making sure to have these lines as

3条回答
  •  隐瞒了意图╮
    2020-12-20 19:48

    This is an example that works... Try it like this

    create procedure dbo.access_update @O_SQL_Error_State int = NULL     output
    
    as
    
    set ANSI_NULLS ON 
    
    SET ANSI_WARNINGS ON    
    
    ....
    ....
    
    GO
    

提交回复
热议问题