Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: If-statement
Hi
Look at TRANSLATE function
eg:
SQL> select 'blahblahblah' from dual;
'BLAHBLAHBLA
SQL> select TRANSLATE('blahblahblah', 'a', '0') from dual;
TRANSLATE('B
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).
-- 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
![]() |
![]() |