Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Picking CHAR over VARCHAR2

Re: Picking CHAR over VARCHAR2

From: Jeff Hunter <jeffh_at_btitelecom.net>
Date: Thu, 25 Feb 1999 09:23:59 -0800
Message-ID: <7b3md8$h2i$1@defiant.btitelecom.net>


In addition, a varchar2 carries overhead for the length portion of the field. Granted, it is only a small portion. I generally use a char datatype for fields <= 5 chars and varchar2 for fields > 5 chars.

Doug Cowles wrote in message <36D41A43.F3E7D82B_at_bigfoot.com>...
>Char has padded space, making string matches more difficult. So why
>would I pick
>a Char over a VARCHAR2 even if it was only one character?
>
Received on Thu Feb 25 1999 - 11:23:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US