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

Home -> Community -> Mailing Lists -> Oracle-L -> Blank-padded comparison semantic with VARCHAR2 datatype

Blank-padded comparison semantic with VARCHAR2 datatype

From: Alexandre Gorbatchev <alexandre.gorbatchev_at_avermann.de>
Date: Mon, 09 Dec 2002 03:23:44 -0800
Message-ID: <F001.005151C1.20021209032344@fatcity.com>


Hello all,

I am migrating an application to the Oracle backend. Unfortunately, it uses blank-padded semantics when compares string values. I store strings as VARCHAR2 in Oracle, which uses non-padded comparison semantics for it. The question: should I go for CHAR (oracle compare them as blank-padded) or there is some setting (session level preferably), so Oracle compare VARCHAR2 in the same way as CHAR?

TIA,
Alex

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Alexandre Gorbatchev
  INET: alexandre.gorbatchev_at_avermann.de

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Dec 09 2002 - 05:23:44 CST

Original text of this message

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