import data using DTS bulk insert or BCP

  • hi there,

    I have a problem when i want to import a large ASCII/text file to SQL.

    I used format file, and I select option "First Row is column header" option when generate format file. But it didn't work, it still read form the first row.

    can anyone help me ?

    thanks,

  • If you are using BCP there is a parameter -F which determines the first row to import. There is a similar option for Bulk Insert in an SQL Statment.

    Jeremy

  • thanks... what if I'm using DTS ?

    what should I write in format file to tell SQL, there is a column header ?

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply