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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: If-statement

Re: If-statement

From: Witold Iwaniec <wiwaniec_at_novalistech.com>
Date: Tue, 20 Mar 2001 05:48:20 -0800
Message-ID: <F001.002D173F.20010320044546@fatcity.com>

Hi

Look at TRANSLATE function
eg:

SQL> select 'blahblahblah' from dual;

'BLAHBLAHBLA



blahblahblah

SQL> select TRANSLATE('blahblahblah', 'a', '0') from dual;

TRANSLATE('B



bl0hbl0hbl0h

SQL> HTH Witold

On 20 Mar 2001, at 3:40, Roland.Skoldblom_at_ica.se wrote:

> Hallo,
>
> Do you have any good example on how to write a procedure, that checks if there is a
>? in a column in tna table in te database. If it is a ? then it will be put a "0" in
>the place where it is a ?. If it is not a ? then it will be the no change in
> that place.
>
> Please help me with this
>
>
> Roland Sköldblom
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: Roland.Skoldblom_at_ica.se
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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).



Witold Iwaniec
Senior Software Developer
NovaLIS Technologies
wiwaniec_at_novalistech.com
http://www.novalistech.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Witold Iwaniec
  INET: wiwaniec_at_novalistech.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Mar 20 2001 - 07:48:20 CST

Original text of this message

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