Import and Export data from SQL Server 2005 to XL Sheet
- by SAMIR BHOGAYTA
For uploading the data from Excel Sheet to SQL Server and viceversa, we need to create a linked server in SQL Server.
Expample linked server creation:
Before you executing the below command the excel sheet should be created in the specified path and it should contain the name of the columns.
EXEC sp_addlinkedserver 'ExcelSource2',
'Jet…