Skip to content
Advertisement

SQL Server: Invalid Column Name

I am working on modifying the existing SQL Server stored procedure. I added two new columns to the table and modified the stored procedure as well to select these two columns as well. Although the columns are available in the table, I keep getting this error:

Invalid column name ‘INCL_GSTAMOUNT’

enter image description here

Can anyone please tell me what’s wrong here?

Advertisement

Answer

Whenever this happens to me, I press Ctrl+Shift+R which refreshes intellisense, close the query window (save if necessary), then start a new session which usually works quite well.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement