I have a stored procedure that throws an "Invalid column name" error for "ContentMarginExVat";
SELECT CategoryTitle, ContentID, ContentTitle, ContentMarginExVat, ContentWeight FROM VWProductsCurrent WHERE ContentID = @ContentID
I checked both VWProductsCurrents and the related table that receives the data, both of them have the selected ContentMarginExVat, but SQL Server Management Studio 2008 still says the column has an invalid name.
I wonder if anyone can offer any advice on this?
Thanks.
source share