Do you mean that you want to add a column to a View that contains a values calculated from columns in a table or tables? If so this is the nasic syntax.
Create View vTblWithComputedValue As
-- This view returns 3 columns from the table and
-- a value computed as the product of ColB & ColC
Select
ColA, ColB, ColC,
ColB * ColC As CompVal
From TblName Terry L. Broadbent Programming and Computing Resources
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.