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!

How can I import a text file into SQL Server

Status
Not open for further replies.

dBjason

Programmer
Mar 25, 2005
355
US
SQL Server 7


I have 3 tab-delimited text files that I need to somehow suck into a new table in SQL Server. How can I do this?

Thanks,
Jason
 
You have several options. Ordered by Ease of use.

Import Wizzard
DTS
Bulk Insert
BCP

To use the Import Wizzard in Enterprise Manager, right click on the database select All Tasks, Import Data. Then follow the wizzard.

DTS (same idea put you do it manually).

For Bulk Insert and BCP check Books OnLine for the syntax.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(Not quite so old any more.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top