Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Trouble in exporting data from database to excel with multiple tab

$
0
0
Hi,I am able to create new excel while exporting data to excel using opendatabase but its not working in case of sending data to multiple tab.Please provide me working code if any one have.Query for exporting data:INSERT INTO OPENDATASOURCE('Microsoft.ACE.OLEDB.12.0', 'Data Source=C:\temp\sample.xlsm;Extended Properties=EXCEL 12.0')...[Sheet1$] SELECT * FROM #SheetDataComplete

Viewing all articles
Browse latest Browse all 3145

Trending Articles