Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Jobs - 2 questions

Status
Not open for further replies.

sqlcasey

Programmer
Sep 21, 2006
150
US
Hi,

ver 2005

1.) What does it mean when it shows a job executed successfully at such and such time, but there is no history under "view history" ?

2.) Is there a reason that an "EXEC (mySQLStmt)" would not run from a stored procedure that is called from a job?

That is, if I run the "EXEC (mySQLStmt)" from mgmt studio, it works fine, but if it tries to run from the job (which calls an sp that contains this line) it doesn't execute (but no error msgs).

Thanks much
 
#2 Permissions could be an issue. Are you using the service or sa to run this job?
 
how many steps in the job for question 1.
Select properties for SQL Server Agent, select the History page. How much history are you saving? What is the Max job rows per job.

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top