dbTalk Databases Forums  

column type for large data

comp.databases comp.databases


Discuss column type for large data in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
usgog@yahoo.com
 
Posts: n/a

Default column type for large data - 08-28-2005 , 01:05 AM






I am trying to create a database having "Term of Service" column,
"Version" and "UserID" column. For "TOS" column, the data may have more
than 9000 characters with HTML characters. What type I should use in
this case? BLOB?


Reply With Quote
  #2  
Old   
Bill Karwin
 
Posts: n/a

Default Re: column type for large data - 08-28-2005 , 02:16 AM






usgog (AT) yahoo (DOT) com wrote:
Quote:
I am trying to create a database having "Term of Service" column,
"Version" and "UserID" column. For "TOS" column, the data may have more
than 9000 characters with HTML characters. What type I should use in
this case? BLOB?
It is likely that this type of data will someday exceed 9000 characters
or any other finite limit of a VARCHAR-like datatype. I'd recommend
going with a text BLOB for variable-length data. More details depends
on which RDBMS brand and version you are using -- see the docs for your
database product for specific characteristics and/or limitations of
BLOB-like datatypes.

Regards,
Bill K.


Reply With Quote
  #3  
Old   
usgog@yahoo.com
 
Posts: n/a

Default Re: column type for large data - 08-28-2005 , 02:42 AM



Thanks. Any limitation for BLOB in MySQL?


Reply With Quote
  #4  
Old   
Bill Karwin
 
Posts: n/a

Default Re: column type for large data - 08-28-2005 , 01:06 PM



usgog (AT) yahoo (DOT) com wrote:
Quote:
Thanks. Any limitation for BLOB in MySQL?
It's all documented here:

http://dev.mysql.com/doc/mysql/en/st...-overview.html

Regards,
Bill K.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.