Select Error: SQLSTATE = 42S22
Microsoft OLE DB Driver for SQL Server
Invalid column name 'X'.
Getting this error when I am using Synonym for table on other database in SQL Server as source to my DW. I am using below version on MS SQL Server 2019
Select Error: SQLSTATE = 42S22
Microsoft OLE DB Driver for SQL Server
Invalid column name 'X'.
Getting this error when I am using Synonym for table on other database in SQL Server as source to my DW. I am using below version on MS SQL Server 2019
Can you check whether you have any comments in your SQL? If yes, try removing those comments and check whether that works.