Hi All,
I've created a stored procedure that provides verbose error messages and I'm currently testing this to see if what I wrote works. The problem I'm encountering before even starting in-depth testing, is that when I call my stored procedure, I immediately receive an error that it doesn't like $(ESCAPE_NONE(JOBID))
I'm calling this thusly: exec master.dbo.myprocedure $(ESCAPE_NONE(JOBID))
Regardless of if I try to run this manually by running the command above, or if I have this being called within a job step, the result is the same: "Incorrect syntax near 'ESCAPE_NONE'"
I've read similar posts that do the same call, however I'm not able to get this to work. To highlight this again, I'm using SQL Server 2008 R2. Any ideas?
Thanks.