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

Alen Cappelletti 891 Reputation points

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,677 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 100.9K Reputation points MVP

    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.)