0

I have to design a database for customer with email id as login but since we have lots of data we need to use federation but since we cant have string or varchar or nvarchar as federation key I am stuck at what should I do. User will use email id to login. How can I solve this problem? Please help me.

4

1 回答 1

0

您可以使用 varbinary 列,并使用电子邮件地址的哈希填充 varbinary 列。

恕我直言,使用电子邮件地址作为联合密钥似乎不是一个好的设计理念

于 2013-11-18T22:51:35.460 回答