« Return to Thread: Limiting the text size on text fields

Limiting the text size on text fields

by Ganesh's screen :: Rate this Message:

Reply to Author | View in Thread

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 20000 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

 « Return to Thread: Limiting the text size on text fields