Copy Columns Task

  • I am trying to import data from a .CSV file into a table. However, it takes forever. I also set up my task so that the transformations share one transformation object when copying the columns. Is there a specific option or way that I could speed this up?

    Thanks!

  • How many rows are you importing? How long is it taking? What version of SQL are you using?

    What other methods of importing have you tried?

    Thanks

    Phill Carter

    --------------------
    Colt 45 - the original point and click interface

  • I'm trying to import approx 205,000 rows and I'm using SQL 2000. I didn't try any other import method

  • Try doing using the BULK INSERT command in Query Analyzer and see how long it takes.

    What sort of data are you importing?

    Thanks

    Phill Carter

    --------------------
    Colt 45 - the original point and click interface

  • Can I use Bulk Insert when I'm importing the CSV file into a table that has an Identity column? Currently, I just copy the columns and ignore the identity column.

    The data I am importing is just general customer and order information as varchar datatype.

    Thanks.

  • Do a Bilk Insert into a staging table, then execute a regular T-SQL insert to insert the records into the final table.

    Thanks

    Phill Carter

    --------------------
    Colt 45 - the original point and click interface

Viewing 6 posts - 1 through 5 (of 5 total)

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