Bulk insert / import csv

Discussion in 'Databases' started by Bruce, Apr 3, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    try extend the timeout on your SQL manager.


    Another way to do this is to script the database.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. thanks, Its not the DTS that had a timeout its the website that couldn't access the SQL Server.

    and about scripting...we are talking about 70,000 rows just for this csv table
    and it will take a very long time and will cost time and time morethen and bulk insertprocess.
    i did a test on my dev server i used SQLStatementGenerator to generate insert script
    it generated a 20mb text file(took some while)theni tried using that simple 20mb scriptafter and1 hour my dev server crashed....

    the csv file i need to import is about10mb and i have to import it daily without having website downtime.
     
  3. Hello,

    anyone has a solution for importing 10mb csv file daily into sql2005 ?

    i have tried bulk insert but DiscountASP prohibits this operation so my sql login dont have bulkinsert permissions.
    i have tried DTS from my computer but i takes over 15min and during that time the site connection to the sql is timeout :(

    Thanks.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page