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

bulk insert to a remote server

Status
Not open for further replies.

ejs31

MIS
May 7, 2004
1
US
I am trying to do a bulk insert of a csv file from a local batch to remote sql server. I do not want to ftp the file to the sql server first because I want all csv files to reside on the batch server.

what would be the best way to do this. Can it be done with osql or bcp? If so, how.
 
you can proably do it with bcp, since its usually best for bulk inserts. one of the arguments is servername. take a look at bcp, overview in books online for all the arguments, as well as all the bcp section for examples.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top