invalid column name sql server 2008 – SQLSERVERLEARNER https://sqlserverlearner.com LEARN SQL SERVER ONLINE Mon, 14 May 2012 08:10:49 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 Msg 207, Level 16, State 1, Line 1 Invalid column name ‘names’. https://sqlserverlearner.com/2012/05/14/msg-207-level-16-state-1-line-1-invalid-column-name-names/ https://sqlserverlearner.com/2012/05/14/msg-207-level-16-state-1-line-1-invalid-column-name-names/#respond Mon, 14 May 2012 08:10:49 +0000 https://sqlserverlearner.azurewebsites.net/2012/05/14/msg-207-level-16-state-1-line-1-invalid-column-name-names/ Error Message:

Msg 207, Level 16, State 1, Line 1
Invalid column name ‘names’.

Fix/Resolution:
1) Use correct alias names in your tsql code
2) Check if the column name exists in the table (or) Table valued function.
3) If the metadata is recently updated use sp_refreshsqlmodule to update metadata of the non schema bound objects.

]]>
https://sqlserverlearner.com/2012/05/14/msg-207-level-16-state-1-line-1-invalid-column-name-names/feed/ 0