I have a Excel file Called Customerdata with data in one sheet called data value(There is another sheet in the same Excel file) This Excel sheet is in my Local drive C:
Can anyone tell me the syntax to fetch the record from this excel file (FYI) the following code is not working:
SELECT * FROM OPENROWSET ('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;DATABASE= C:\Customerdata.xls;User ID=sa;Password=',
'SELECT * FROM [data value$]')
Thanks
Can anyone tell me the syntax to fetch the record from this excel file (FYI) the following code is not working:
SELECT * FROM OPENROWSET ('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;DATABASE= C:\Customerdata.xls;User ID=sa;Password=',
'SELECT * FROM [data value$]')
Thanks