473,320 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Enterprise Manager Job Scheduler Vrs Query Analyzer???

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
but a permissions issue What are your thoughts?
Jul 20 '05 #1
2 2402

"Philip Mette" <ph******@msn.com> wrote in message
news:96**************************@posting.google.c om...
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
but a permissions issue What are your thoughts?


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
Jul 20 '05 #2
Syntax or missing object errors?

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

"Simon Hayes" <sq*@hayes.ch> wrote in message
news:41********@news.bluewin.ch...

"Philip Mette" <ph******@msn.com> wrote in message
news:96**************************@posting.google.c om...
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
but a permissions issue What are your thoughts?
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

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: PF | last post by:
On one of our machines, all of the SQL Server 2000 components except for the main Server component (SQL Server core) itself were installed (Management tools, etc) a while ago and everything was...
1
by: ffoiii | last post by:
I am attempting to connect to a remote default instance of SQL Server 2k on Win2k using Enterprise Manager from my local host but receive a "SQL Server registration failed, timeout expired" error...
1
by: bitunwise | last post by:
I had a problem today where I could not see column names and all tables had a _1 after them when viewing a Sql Server view in Enterprise Manager e.g. TableName Company when added to the view...
1
by: Thomas Richards | last post by:
Hi, I have a table with about 70k rows. When I use open table --> return all rows and then edit a field Enterprise Manager then says it has to return the entire result set for the update to take...
1
by: Greg Doherty | last post by:
I am using SQL Server 2000. I have created a new database in Query Analyzer but I cannot see it in Enterprise Manager. I then created a new database in Enterprise Manager, but I can't see it in...
2
by: jcabc | last post by:
The row counts I am getting from SQL Enterprise Manager and Query Analyzer are different. When I double click a table in Enterprise Manager it gives me a row count of say 1000. However, when I...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
1
by: Alex | last post by:
Hi Everyone, Most of our MS SQL Servers are still running on SQL 2000, but being I will soon be upgrading my workstation to Vista Business I'd like to install MS SQL 2005 Enterprise Manager to...
1
by: chudson007 | last post by:
Hi All, What are the pros and cons between using Enterprise Manager or Query Analyzer for my queries. Currently I use Enterprise Manager because I prefer the interface and only use Query...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.