I am using SQL Server 2017 and I had already installed Visual Studio 2019 before installing SQL Server. Sometimes when I create the first table in a database it gives me IntelliSense for that first table only and not for other tables I create later on and seomtimes it does not detect my tables and underline with a red line in my query.
I have tried the solution provided here (IntelliSense not working but it is enabled) with settings and clearing cache but it didn't work for me. The link was provided for a Microsoft solution which I did not try because it is for SQL Server 2008 . please give me a solution