I created a linkedserver from SQL Server 2016 to Filemaker database on another server. ODBC driver version in 19.xx.
Using the ODBC driver and DSN, I can see the data from the Filemaker database using Excel or PowerBI.
However I am unable to query the Filemaker from SQL Server using linkedserver.
- I installed Filemaker odbc 64 bit. Tried versions 17.0.1 to 19.5
- Create a system DSN
- Created a linked server
But whenever I try to run a query I get the error shown here. I tried many things and still can't figure out.
Has anybody else encountered this error?
I tried different versions of odbc drivers and tried to query using different syntax, such as openquery, openrowset etc, without any success

Finally I found the solution to the problem, using the following steps.
...
This worked. please make sure to specify the column names inside the openquery. hope it helps