Hello.


> Would both of the above tables have 2^32 - 1 characters?=20



No. TEXT types are variable-length types. For each one, the storage

requirements depends on the actual length of column values, rather

than on the type's maximum possible size. See:

  http://dev.mysql.com/doc/mysql/en/storage-requirements.html







"Sunil Vishwas" <[EMAIL PROTECTED]> wrote:

> Hi Bruce,

> 

> I am not much worried about pre 5.0.11-Beta, my question is:

> 

> How the following tables would be stored:

> 

> CREATE TABLE NonUnicodeTable (NonUnicodeColumn LONGTEXT);

> CREATE TABLE UnicodeTable (UnicodeColumn LONGTEXT UNICODE);

> 

> Would both of the above tables have 2^32 - 1 characters?=20

> 

> Thank you,

> Sunil Vishwas=20



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to