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: varchar2 and primary keys

Re: varchar2 and primary keys

From: <somasatish_at_hotmail.com>
Date: 1997/09/17
Message-ID: <341FCE82.4E@hotmail.com>#1/1

Hello,

  Using Varchar over char always takes care of your memory...   see in char memory is static..(not usable if not filled) but in   Varchar it is dynamically allocated depending upon the value input   into the column...

  Defining Primary key for char or varchar doesn't make any difference   at all...It is only for memory consumption i think so..

  It is always advisable to use varchar b'cos when you are trying to   read the value from the column defined char doesn't give 100%   assurance that the complete info is read... one way i think this   is one of the reasons also....

  Hope this might help you....

From
Satish : somasatish_at_hotmail.com Received on Wed Sep 17 1997 - 00:00:00 CDT

Original text of this message

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