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: Weird advice : keep varchar2 under 255 bytes ???

Re: Weird advice : keep varchar2 under 255 bytes ???

From: Le JeanMimi <scjm_at_noos.fr>
Date: 11 Apr 2005 23:51:43 -0700
Message-ID: <c7be5048.0504112251.1678a4a@posting.google.com>


First, thank you all for your help.

> From the top of my head: for a column with a maximum length longer
> than 255 Oracle will use 2 length bytes, otherwise only one. So there
> is a difference, albeit little.
>
> Jaap.

Another question :
If we store a string whose length is < 255 bytes in a varchar2 column whose length is > 255 bytes, will Oracle use 2 bytes or 1 byte for the length heading ? Received on Tue Apr 12 2005 - 01:51:43 CDT

Original text of this message

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