Linked server working with three dot notation, but not with 4 part name in SQL Server.
For example: when I run
SELECT top 1 *
FROM [POSTGREFGH]...DEPARTMENT
I am getting results, but when I try this:
SELECT top 1 *
FROM [POSTGREFGH].MyDB.[MyShema].DEPARTMENT
I get this error:
Invalid use of schema or catalog for OLE DB provider "MSDASQL" for linked server "POSTGREFGH". A four-part name was supplied, but the provider does not expose the necessary interfaces to use a catalog or schema.
My source server is : POSTGRESQL
Where and what was wrong with this?
Thanks in advance