J
J-T
I have a table with follwoing feilds:
1)ClientID
2)EmailAddress
3)AddressDescription
4)Primary
5)BizRuleFlag
there could be multiple address for each client ,but each client **MUST**
have atleast one address with "Primary" flag set to "Y" (which mean that one
is his Primary address) and also one of the addresses **Must** also contain
an EmailAddress.I'd like to check all the data in the table and if these
rules are met set the "BizRuleFlag" to 1 otherwise to 0.
Any helps?
Thanks a lot
1)ClientID
2)EmailAddress
3)AddressDescription
4)Primary
5)BizRuleFlag
there could be multiple address for each client ,but each client **MUST**
have atleast one address with "Primary" flag set to "Y" (which mean that one
is his Primary address) and also one of the addresses **Must** also contain
an EmailAddress.I'd like to check all the data in the table and if these
rules are met set the "BizRuleFlag" to 1 otherwise to 0.
Any helps?
Thanks a lot