Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recommend Date Type and Size for Email Template

Status
Not open for further replies.

smatthews

IS-IT--Management
Jul 27, 2001
108
US
Good Morning,

We will be saving emails to be used as templates in a sql 2k database table. I could use a recommendation; should I use text or varchar and what size? The approximate size of the emails are about 2,000 characters including white space.

Thanks!
 
Use varchar(2500) if you're absolutely sure that your maximum template never exceeds 2000 and you don't need to handle unicode.

When you move to SQL Server 2005 and up, you would be able to switch to varchar(max) to not care about maximum size at all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top