Re: MAX VARCHAR Lenght

"Petr Vileta" <[email protected]> Wed, 22 Nov 2006 01:53:22 +0100
Newsgroups gmane.comp.db.mysql.windows
Message-ID <006a01c70dd0$dd5ce5c0$6401a8c0@petr1>
Melissa Dougherty wrote:
> Can anyone explain what this means??
>
> (The maximum effective length of a VARCHAR in MySQL 5.0.3 and later
> is determined by the maximum row size and the character set used. The
> maximum column length is subject to a row size of 65,532 bytes.)
>
>
> If I'm using the Latin1 character set, how large can my VARCHAR
> column be in length?  Is there a page to reference in the
> documentation?
>
Latin1 is 8-bit charset (1 byte = 1 character). If you define table which 
only one varchar field have then this field can contain 65532 chars.

Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail 
from another non-spammer site please.)




-- 
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:    http://lists.mysql.com/[email protected]