I have one table called PartyChannel with the following columns
ID, ChannelID, ChannelType
ChannelID stores MailID or PhoneID or EmailID depending on ChannelType .
since I can create a foreign key between PartyChannel and all three tables (Mail, Email and Phone) depending on the type of channelType.
sql-server sql-server-2008 database-design
Khuzema Kamaal
source share