What data type to use for variable lenght data for performance

Posted by jiewmeng on Stack Overflow See other posts from Stack Overflow or by jiewmeng
Published on 2010-05-29T07:44:00Z Indexed on 2010/05/29 7:52 UTC
Read the original article Hit count: 232

Filed under:
|
|

what data type shld i use for data that can be very short, eg. html link (think twitter), or very long eg. html blog post (think wordpress)

i am thinking if i use varchar(4000), it maybe too short for a html formated blog entry? but if i use text, it will take up more space and is less efficient?

© Stack Overflow or respective owner

Related posts about sql

Related posts about database