WinniePooh
MIS
I am trying to run the following command to execute a stored procedure on my DR server from my live server:
exec georgia-dr.logshipping.dbo.restore_database_backups
This is scheduled via a job on the live server. The job fails with the following message:
Error 170: Line 1: Incorrect syntax near 'dr'
I have tried parsing the statement with ' or " around the server name georgia-dr but these do not work either. Any ideas how I can make the job understand a hyphen in a server name?
exec georgia-dr.logshipping.dbo.restore_database_backups
This is scheduled via a job on the live server. The job fails with the following message:
Error 170: Line 1: Incorrect syntax near 'dr'
I have tried parsing the statement with ' or " around the server name georgia-dr but these do not work either. Any ideas how I can make the job understand a hyphen in a server name?