Hi all!
In my production VB6 application, I use the following query to extract data to Excel.
- INSERT INTO OPENROWSET
- ('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database= E:\myfile.xls;', 'SELECT * FROM [Sheet1$]')
- SELECT * FROM myTable
Why? Is it a driver issue?
The server is SQL 2005 SP4 Workgroup Edition.
Thanks.

ali tuncerRank #1,499 · 1.1K reputationPosted Feb 24, 2016, 3:24 PM EST
In excel file, add a row with number values and hide the row..
http://www.sqlservercentral.com/Forums/Topic255083-8-1.aspx