I have done as you said, but am still getting the same error. I selected the first row A1 to U1 which contain the column headers and added this row 1:1 in the label range of the Label Ranges dialog.
Thanks,
Ann
Hi,
I have created a linked server for an Excel worksheet as
EXEC sp_addlinkedserver 'ExcelSource',
'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0',
'c:\aflavin\ExcelFies\SampleDatabase.xls',
NULL,
'Excel 5.0'
GO
When trying to create a SP to pull all data from the file
Server: Msg...
The cells A1 to U1 are being used to hold the text that are the column headings. However they do not have any special formatting. Is it required for these cells to be formatted to make them "column headings"?
I have added the remote Login but am now getting this error message.
Server: Msg 7357, Level 16, State 2, Line 1
Could not process object 'SELECT * FROM DETAILS'. The OLE DB provider 'Microsoft.Jet.OLEDB.4.0' indicates that the object has no columns.
Hi,
I have created a linked server for an Excel worksheet as
EXEC sp_addlinkedserver 'ExcelSource',
'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0',
'c:\aflavin\ExcelFies\SampleDatabase.xls',
NULL,
'Excel 5.0'
GO
I now need to write a Stored Procedure that pulls all the data in the excel...
Hi,
I have created a linked server for an Excel worksheet as
EXEC sp_addlinkedserver 'ExcelSource',
'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0',
'c:\aflavin\ExcelFies\SampleDatabase.xls',
NULL,
'Excel 5.0'
GO
I now need to write a Stored Procedure that pulls all the data in the excel...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.