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

Text File to SQL Table

Status
Not open for further replies.

coolphilboy

Technical User
Aug 19, 2001
19
0
0
PH
How do i Bulk Insert a text file of Fixed Field length, no delimeters, to an sql table? need it very badly. TIA.
 
Hiya,

You need to construct a format file that will tell SQL Server where to find each data piece.

It may be worth trying to search for format files under the FAQ section, or try looking on the internet.

I don't know how different it is, but Sybase have a very good section on BCP format files if Microsoft don't.


HTH

Tim
 
If you are running SQL Server 7 or above and unfamiliar with BCP then use DTS.

You can find a good source of information on DTS at


Rick.
 
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top