Groups | Blog | Home
all groups > sql server (alternate) > october 2004 >

sql server (alternate) : Enterprise Manager Job Scheduler Vrs Query Analyzer???


philipdm NO[at]SPAM msn.com
10/14/2004 7:04:55 AM
I run a stored procedure manually each day without fail using Query
Analyzer.I.E. I right click in the browser window on the stored
procedure hit open and execute. I am trying to get my "DBA" to
schedule this job in Enterprise manager and they keep getting syntax
errors that make no sense and keep asking me to fix the code.
Is there any difference in how the job scheduler executes a procedure
vrs doing it in Query analyzer via Open/Execute that requires a
different SQL syntax??? Im thinking that this problem is not the code
David Rawheiser
10/15/2004 9:53:15 AM
Syntax or missing object errors?

Make sure they know what database to point at when running it.

[quoted text, click to view]

Simon Hayes
10/15/2004 11:14:29 AM

[quoted text, click to view]

There should be no difference in syntax, but it may be a permissions issue,
depending on who owns the job. Without seeing the exact errors, though, it's
impossible to make any real suggestions. It would also be useful to know the
version of MSSQL, who owns the job that's failing, and what the stored
procedure does (just data manipulation, or does it use xp_cmdshell for
something etc).

Simon

AddThis Social Bookmark Button