Answered by:
Excel 2013 data to sql server 2012 table

Question
-
Answers
-
Use the SSIS Import/Export Wizard:
http://www.sqlusa.com/bestpractices/ssis-wizard/
You can save the Wizard generated SSIS package.
You can execute an SSIS package from a stored procedure:
How to Call SSIS Package from the Stored Procedure
Kalman Toth Database & OLAP Architect sqlusa.com
Paperback / Kindle: Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012- Proposed as answer by Satheesh Variath Tuesday, March 19, 2013 11:06 AM
- Unproposed as answer by SQL2012BI Tuesday, March 19, 2013 12:51 PM
- Marked as answer by SQL2012BI Monday, March 25, 2013 10:35 AM
All replies
-
Use the SSIS Import/Export Wizard:
http://www.sqlusa.com/bestpractices/ssis-wizard/
You can save the Wizard generated SSIS package.
You can execute an SSIS package from a stored procedure:
How to Call SSIS Package from the Stored Procedure
Kalman Toth Database & OLAP Architect sqlusa.com
Paperback / Kindle: Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012- Proposed as answer by Satheesh Variath Tuesday, March 19, 2013 11:06 AM
- Unproposed as answer by SQL2012BI Tuesday, March 19, 2013 12:51 PM
- Marked as answer by SQL2012BI Monday, March 25, 2013 10:35 AM
-
-
-
Hi Christa,
I've created linked server and now when am selecting the data from excel am getting the below error.
I've written like this...
SELECT *
FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','Excel 12.0 XML;HDR=YES;Database=E:\VSTF 224263 - Existing Position Impact - Sample File.xls',
'SELECT * FROM [Sheet1$]');Error:
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "Unspecified error".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)". -
I've created a new SSIS package and in that I've written all logic. After much search I found that SSIS is good way to load data from excel to SQL server where all the transformation can be taken and we can make data available as we want.
Thank you Kalman.