Re: Limiting the text size on text fields

2007-10-18 Thread Ganesh's screen
Thank you, Sebastian. Also does the usage of UTF-8 over Latin1 restraints the usage or extensibility? Sebastian Mendel wrote: > > Ganesh's screen schrieb: >> Is there a way to restrict the length of text field in MySQL. For >> example, it >> is of 65K limit a

Limiting the text size on text fields

2007-10-15 Thread Ganesh's screen
Is there a way to restrict the length of text field in MySQL. For example, it is of 65K limit and could hold more than 2 characters. Is there a way to restrict that to 4000 characters at table/field level. Coz the max_allowed_packet constrainted the entire DB. Thanks Ganesh -- View this mess