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!

Can I just Import several Rows from Text files

Status
Not open for further replies.

znet

Programmer
Aug 23, 2004
41
CA
Hello friends,
I hope import the first several Rows from a Text files to database, because the first row just stores column name, I want analyses it in advance. Anyone give me a direction, I am just starting to learn DTS. Thanks

 
If the text file is an excel file, yes, you can import only a specific number of rows. You just query the excel file and then insert into the database table.

If the file is a basic TXT file or the like, I would recommend first importing that file into an excel file and then query/insert into the excel file if you only want to pull a few rows from that file.
 
Thanks SimeonJ,
Actually I find solution, Set first row and last row in DTS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top