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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proc works - Job breaks

Status
Not open for further replies.

CptTom

Programmer
Jul 16, 2001
117
US
I have a proc that runs just fine as a proc when run manually, but breaks part way through when run as a job. The proc drops the existing table recreates it from a trusted server. This runs a "Select * Into table FROM OpenQuery (Servename, 'Select * From owner.table').

The error message is always 0. This can happen on almost any of the tables it is importing.

It is not a permissions thing becuase it runs on several tables before crashing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top