SQL Server: Invalid Column Name

Total
0
Shares

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?


Solution

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.

Source: StackOverflow.com

Leave a Reply

Your email address will not be published. Required fields are marked *