SET QUOTED_IDENTIFIER OFF in Stored procedure generates error

  • Hi, 

    I have a stored procedure with :  SET QUOTED_IDENTIFIER OFF, when I execute my code I have the following error :

    SELECT failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.

    The same code works if I remove the stored porcedure.
    I tried to  SET QUOTED_IDENTIFIER ON after the execution of the stored procedure,  but I have the same error message.

    What should I do please ?

  • I tried a workaround, instead of using double quotes, I use simple quotes and I remove the  SET QUOTED_IDENTIFIER ...

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply