Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Varchar(max) vs Varchar(400)
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 6.5 and older
Application:
Web
Miscellaneous
Thread ID:
01581593
Message ID:
01582563
Views:
48
Or another approach would be to have this column of XML data type. A single value can store an unlimited (reasonably) number of email addresses. The XML structure can also store -- in attributes and tags -- some other data relevant to the email addresses.
 < Addresses >
     < Address value="address1@mydomain.com" Type="Office" IsDefault="True">
     < Address value="address2@mydomain.com" Type="Home">
     < Address value="address3@mydomain.com">
...
 </ Addresses >
The choice is to be made depending on how many of email addresses the database will store eventually, and on how fast/frequent the access to an individual email address is expected to be.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform