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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Bug in PL/SQL ?

Re: Bug in PL/SQL ?

From: Emmanuel Roye <eroye_at_auchan.fr>
Date: Wed, 20 Mar 2002 10:09:45 +0100
Message-ID: <a79j3t$9qg$1@reader1.imaginet.fr>


Seams that it is translated two times in PL/SQL:

Try

variable xxx varchar2(9)
select translate('321xabcdef','123abc','2') from dual; exec :xxx := translate('321xabcdef','123abc','2') print xxx

2xdef for SQL select
xdef for PL/SQL

Now try

select translate('321xabcdef','123abc','1') from dual; exec :xxx := translate('321xabcdef','123abc','1') print xxx

1xdef for SQL select
1xdef for PL/SQL Received on Wed Mar 20 2002 - 03:09:45 CST

Original text of this message

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