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!

split Tables

Status
Not open for further replies.

Compkitty

Programmer
Jan 7, 2005
121
US
Is there a way to take a table w/ ie. (225,000,000) lines in it and split into 1125 files of 200,000 lines and BCP those out into csv files???
 
Ok, So If I do JobA BCP SELECT TOP 200000 From the table, what do I do w/ those records after the output when I'm ready to do the next set of 200,000??

Ie
JOB A is rows 1 - 199,999 DONE
So then Job b will be Select top 200000 From table.. would that mean it's just replication job a?? rows 1 - 199,999??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top