Avatar of vadao
vadao

asked on 

Excel linked to Access linked to SQL Server

I am trying to create a table in a linked SQL Server 2016 database from a linked Excel 2013 file in MS Access. I cannot get the pass-through query to work. Any help would be appreciated.

Using query designed to create pass-through query where tblSheet1 is the excel and tbl1 is the table I am trying to create in SQLServer:
SELECT tblSheet1.VENDOR_NUMBER
INTO tbl1
FROM tblSheet1

Throw error:
ODBC-- Call Failed
[Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'tbleSheet1'. (#208)
SQLMicrosoft SQL ServerMicrosoft Access

Avatar of undefined
Last Comment
Gustav Brock

8/22/2022 - Mon