Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Import data from tab delimited text file.

Author  Topic 

sameerv
Starting Member

29 Posts

Posted - 2002-11-08 : 03:17:29
Hi Guys,

Is it possible to import data from a tab delimited text file into SQL Server7.0 table using a Text odbc.
If yes , then how is it done and how do we specify the delimiter.



Cursors - A curse

SamC
White Water Yakist

3467 Posts

Posted - 2002-11-08 : 06:32:38
Look on BOL for both 'BCP' and 'BULK INSERT'.

BCP runs at the Windows command prompt, and reports individual line-by-line errors (important to me).

BULK INSERT is a SQL command, and easier to implement, but doesn't give you a line-by-line result.

There are some good articles on sqlteam.com on how to use both. Try the search function on the home page.

Sam

Go to Top of Page
   

- Advertisement -