trpnbillie
Programmer
Hello. In the same database, I want to create two new stored procedures each with different QUOTED_IDENTIFIER settings. That is:
--- Script 1 creates PROC 1 first
SET QUOTED_IDENTIFIER = OFF
GO
CREATE ProcA
......
--- Script 2 creates PROC 2 second
SET QUOTED_IDENTIFIER = ON
GO
CREATE ProcB
Notice how the second sproc has "SET QUOTED_IDENTIFIER = ON"
I'm hoping "SET QUOTED_IDENTIFIER = ON" is applied only to ProcB and does not affect ProcA or any other already existing procs that are in the database (that should be QUOTED_IDENTIFIER = OFF).
Can you confirm that QUOTED_IDENTIFIER = ON will only be applied when ProcB runs? thx kindly!!!
--- Script 1 creates PROC 1 first
SET QUOTED_IDENTIFIER = OFF
GO
CREATE ProcA
......
--- Script 2 creates PROC 2 second
SET QUOTED_IDENTIFIER = ON
GO
CREATE ProcB
Notice how the second sproc has "SET QUOTED_IDENTIFIER = ON"
I'm hoping "SET QUOTED_IDENTIFIER = ON" is applied only to ProcB and does not affect ProcA or any other already existing procs that are in the database (that should be QUOTED_IDENTIFIER = OFF).
Can you confirm that QUOTED_IDENTIFIER = ON will only be applied when ProcB runs? thx kindly!!!