Hi!
Can somebody tell me what's wrong in this SQL command:
because I'm getting this error:
Incorrect syntax near 'c:'
Can somebody tell me what's wrong in this SQL command:
Code:
SELECT * INTO dbo.shopping_TSR FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database='c:\inetpub\[URL unfurl="true"]wwwroot\fileuploader\upload\tmb2.xls'',[/URL] 'SELECT * FROM [Sheet1$]')
because I'm getting this error:
Incorrect syntax near 'c:'