I noticed that not all of my stored procs behaved the same when compiled using sqlcmd instead of management studio. The culprit appears to be how QUOTED_IDENTIFIER is defaulted. Management studio defaults it to ON. Sqlcmd defaults it to OFF.
So I'm now tempted to explicitely put
in front of all of my stored procs. Is there any downside to this approach?
So I'm now tempted to explicitely put
Code:
SET QUOTED_IDENTIFIER ON
GO