Shailesh Khanal
2007-10-02 19:55:58 UTC
I have created an alert for database mirroring, the alert fires when the
mirror is behind principal by 15 minutes, I am trying to setup a response
job which will log the alert with database name and server name, etc. But
even simple print statement in the job is failing when I use a token like
PRINT N'Current database name is $(ESCAPE_SQUOTE(A-MSG))' ;
The error is
Unable to start execution of step 1 (reason: Variable A-MSG not found). The
step failed.
Am I missing something?
Thank you
mirror is behind principal by 15 minutes, I am trying to setup a response
job which will log the alert with database name and server name, etc. But
even simple print statement in the job is failing when I use a token like
PRINT N'Current database name is $(ESCAPE_SQUOTE(A-MSG))' ;
The error is
Unable to start execution of step 1 (reason: Variable A-MSG not found). The
step failed.
Am I missing something?
Thank you