Alter View not recognizing column
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-06-03T20:10:32Z
Indexed on
2010/06/03
20:14 UTC
Read the original article
Hit count: 393
t-sql
|sql-server-2008-r2
I have scripts for adding columns to tables which worked.
When I run scripts to alter views with the new column the script fails because the columns are not recognized
Msg 207, Level 16, State 1, Procedure UniqueTempDispositions, Line 76
Invalid column name 'servicerequestid'.
Msg 207, Level 16, State 1, Procedure UniqueTempDispositions, Line 47
Invalid column name 'servicerequestid'.
Msg 207, Level 16, State 1, Procedure MergeDispositions, Line 54
Invalid column name 'ServiceRequestID'.
Msg 207, Level 16, State 1, Procedure NonPIICachedDispositions, Line 18
Invalid column name 'ServiceRequestID'.
Any reason why? Am I missing something?
I've started and stopped the server, I've relogged in to no avail.
© Stack Overflow or respective owner