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

Alen Cappelletti 1,047 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 | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 129.6K Reputation points MVP Volunteer Moderator
    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.)


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.