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!

Urgent Using BCP utility

Status
Not open for further replies.

bnath001

Programmer
Aug 18, 2000
100
US

I have .DAT file (data file of SQL server database) someone suggested me to use BCP utility to upload the data into a newly created SQL server database.

Does anyone have any documentation for using the BCP utility?

Any help will be appreciated.
thank you
nath
 
the bcp utility is for loading data from text files to sql server. i dont think you can use it to upload a .dat file. If you have all of the dat files for the old database, including master.dat you can do a new install of sql server and copy all of the dat files to the correct directories, owerwriting the .dat files created by the install, although this method is not officially recommended by microsoft i have done it successfully.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top