I am creating a website with the following tables:
- Members (GUID, UserName, NickName, etc)
- MemberContacts (emailaddresses, phone#s, etc),
- MemberSecurityQuestions (for ID challenge questions),
- MemberBankAccounts (BankID, account#, etc)
I'm uncertain whether to base FK relationships on the GUID or Username (or a combination). Note the GUID is a NewSequentialID().
I'm a noob but theoretically basing all FK on the GUID would be better for index/performance plus if the GUID is never sent to the client more secure -- but might mixing the relationships (i.e. not all on GUID) provide any benefits?