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: Noel <tomekb_at_softman.pl>
Date: Fri, 11 Jun 2004 10:07:44 +0200
Message-ID: <cabp6t$sg5$1@inews.gazeta.pl>

> This is not the school work, i just curious about it.
> i can make table and index as you wish, and i might find out the
> differences, and the index structure algorithm from oracle documents.
> i think everyone can do this, what the newsgroup is for?
> if you don't want to answer the question. just ignore it. don't post the
> reply like this.

Main different between char(x) and varchar2(x) is that value inserted into char(x) has always length x (padded with spaces).

Secondly, char(x) could be soon skipped in new version of Oracle DB.

--
TomekB
Received on Fri Jun 11 2004 - 03:07:44 CDT

Original text of this message

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