Discussion: VARCHAR and size
Afficher un message
Vieux 06/10/2007, 22h56   #4
strawberry
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: VARCHAR and size

On 6 Oct, 22:30, "Paul Lautman" <paul.laut...@btinternet.com> wrote:
> Séverin Richard wrote:
> > Marco wrote:
> >> Hello to anyone,
> >> I need to get the max number of char I can store into a varchar
> >> variable. Is there any function I can use?
> >> ex.
> >> DECLARE MYVAR CHAR(3)

>
> >> ThefunctionThatLetMeKnowTheSizeOf(MYVAR) = 3

>
> >> thanks
> >> Marco

> > varchar( 255 ) is the max size i know for this colmun type.

>
> Please do not top post. (Top posting fixed)
>
> And you have not answered the question that was asked!


SHOW COLUMNS FROM my_table WHERE `FIELD` = 'my_char_field';

  Réponse avec citation
 
Page generated in 0,04424 seconds with 9 queries