Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Loading Excel File

Author  Topic 

sanjay5219
Posting Yak Master

240 Posts

Posted - 2010-04-23 : 12:54:45
Dear All,

Is there any way by which i can upload the Excel File in SQL.any procedure anything

Please suggest


visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-23 : 12:56:04
you mean upload excel file data as a whole or extract column data from it?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

sanjay5219
Posting Yak Master

240 Posts

Posted - 2010-04-23 : 13:10:30
I have one table with Column Product_Code-Price and i am getting excel file on daily basis with around 10000 rows with same column.Now i want to upload this file in sql table
Go to Top of Page

sanjay5219
Posting Yak Master

240 Posts

Posted - 2010-04-23 : 13:12:40
Just to add this i do not want to use package
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-23 : 13:15:21
ok.. then use OPENROWSET

http://msdn.microsoft.com/en-us/library/ms190312.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -