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

Running BCPs

Status
Not open for further replies.

kizziebutler

Programmer
Apr 28, 2005
81
GB
I do not know if this is possible, however I will ask the question? Is it possible to schedule, one BCP to run and execute, finish successfully and then execute another BCP command to run after the first one has run?

I am extracting 74 tables and views. One BCP per table or view. ie, BCP "select date from table" output "table1.txt". Some tables contain 90 million records. I run one BCP command at a time to ensure that the tempdb does not fill up to quickly and fail to execute successfully.

I was ask if I could write some procedures and run it over night to execute all the BCP commands. I know you can schedule the BCP command from sqlagent but this does not ensure that the execute has completed on time.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top