Firstly, text is a reserved word in mysql. Secondly, varchars or chars
can only have 255 characters. You should use a text type column which
can be very large (megabytes!). You have read the manual on the
different field types?

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> I`m setting up a field in my DB called Description and basically want it to
> have a max character length of 1000, my MySQL manual tells me varchar is
> limited to 255 so thats out of the window then it goes on to say text has a
> max of 64 kb of text and defines all the others in this way. I did try
> entering as follows
> 
> Description text(1000) but it isn`t accepting it
> 
> should I be using something else??
> 
> Ade
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail 
><[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to