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: which column type char,varchar2 is better for index?

Re: which column type char,varchar2 is better for index?

From: Alan <alan_at_erols.com>
Date: Fri, 11 Jun 2004 10:46:53 -0400
Message-ID: <2ituurFqsvsuU1@uni-berlin.de>


> But as I doubt you will let me give you the answer ... there is not
> a single valid reason I can think of in Oracle to ever use a CHAR
> column. And performance is only a small part of the reason.
>

This is not a valid reason, but I use CHAR(1) in place of the non-existant Boolean (no, I don't want to argue about the need for Boolean data), or maybe for a flag. Just for ease when scanning designs and so on. Received on Fri Jun 11 2004 - 09:46:53 CDT

Original text of this message

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