Never heard of computed column until I needed to set one up today so excuse the stupidity. Here is my create table statement
CREATE TABLE [Match](
[Match Org] [nvarchar](10) NULL,
[Bypass] [nvarchar](10) NULL,
[win] as case when [Match Org] == 'yes' or [Bypass] == 'yes' then 'yes' else 'no'
) ON [PRIMARY]
GO
I want the win column to automatically compute to yes if either match org or bypass have yes in them... thanks