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!

How to import delimited text flat files

Status
Not open for further replies.

Versys

Programmer
May 4, 2004
14
US
Hi everyone:

I need to import several flat files to a Microsoft SQL tables, at this moment I am using DTS, but this is kind of slow when you multiply the process for 20 tables, so, I am in need to know how to import these files in a expedite way such with a script.

Thanks.
 
Check out BULK INSERT and BCP in BOL. BULK INSERT is usually the quickest way to import text files into SQL tables. Good luck!

--Angel [rainbow]
-----------------------------------
Behold! As a wild ass in the desert
go forth I to do my work.
--Gurnie Hallock (Dune)
 
Thanks, that really work with most of my tables and I am saving lost of time by this method, but I have couple of tables with the following error "Bulk insert data conversion error (overflow)".

What should I do.

Once againg, Thanks.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top