My t-sql is red as if the table doesn't exist

Alen Cappelletti 891 Reputation points
2023-03-13T17:25:39.9966667+00:00

Hi,
I have a strange behavior on a table. My code is not validated in SSMS when writing. The statement works... I tried closing the work window, reconnecting, nothing always in RED. Does anyone have any ideas?
Thanks Alen

User's image

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,653 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 100.8K Reputation points MVP
    2023-03-13T22:18:42.2566667+00:00

    It's not SSMS that runs your queries, it's SQL Server. Just run the query, and if it works, just smile. Don't be a slave under this intlellinonsense. (I have it turned off. I just can't stand it.)