SQL: What's the right column length for storing email addresses in a SQL Server database?
I spend a lot of time reviewing database designs at customer sites. So often, I come across bizarre decisions that have been taken in the choice of data types within the databases. One problem that I see all the time is the way that email addresses have been stored.
One data element or more?
The first thing you need to decide is whether an email address is really one data element or more.
2019-05-17