dbTalk Databases Forums  

Bulk insert from Excel File

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Bulk insert from Excel File in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gopal.panda@gmail.com
 
Posts: n/a

Default Bulk insert from Excel File - 03-02-2006 , 07:39 PM






Hi,
I would appreciate if anyone can help me in this regard.
1. My client uploads excel file through web, this excel has only 4
columns .
2. Now i want to insert the data from Excel to Sql Server how do i do
that? i have only one solution that i can read excel file using VB.NET
and then Start firing Insert command as many rows i have. This solution
is very bad when i have 10,000 record , my program takes his own sweet
time of 15 to 20 min. I need programmable solution.
Regards
Gopal


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Bulk insert from Excel File - 03-03-2006 , 04:01 PM






Hello gopal.panda (AT) gmail (DOT) com,

So you want to import an excel file ad do some updates?

You can use the Excel Source Adapter and use the OLE DB Transform to do the
UPDATEs. Will this work for you? If not then can you explain more about
what you do want?


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi,
I would appreciate if anyone can help me in this regard.
1. My client uploads excel file through web, this excel has only 4
columns .
2. Now i want to insert the data from Excel to Sql Server how do i do
that? i have only one solution that i can read excel file using VB.NET
and then Start firing Insert command as many rows i have. This
solution
is very bad when i have 10,000 record , my program takes his own sweet
time of 15 to 20 min. I need programmable solution.
Regards
Gopal



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.