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 Mike Lewis 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 a txt file based on position

Status
Not open for further replies.

kat50

Technical User
Aug 4, 2009
6
US
How can I import a flat text file into a sql table SQL based on position? As an example
Field Name Start Width Positions
Column 1 1 6 1-6
Column 2 7 9 7-15
Column 3 16 9 16-24
Column 4 25 9 25-33
Ignore
Column 5 33 4932 33-5286
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top