Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: equivalent for isdate, isnumeric

RE: equivalent for isdate, isnumeric

From: Mladen Gogala <>
Date: Fri, 26 Sep 2003 06:19:39 -0800
Message-ID: <>

Or, the function can be written to return number. It's not so hard to do. If there are problems,
please let me know, I'll post the new version of the code, wrapped.    

Mladen Gogala
Oracle DBA 

-----Original Message-----
Jamadagni, Rajendra
Sent: Friday, September 26, 2003 10:05 AM
To: Multiple recipients of list ORACLE-L

you could however use diutil.bool_to_int and diutil.int_to_bool which is
used by oracle to transmit/receive Boolean data across SqlNet.

Since others have pointed out, Boolean is not a SQL datatype, you could not
build a FBI around it, deterministic or no, it doesn't make a difference.
Use diutil.bool_to_int around the return value and your function returns a
number (0 or 1) and now you can build a FBI.

Rajendra dot Jamadagni at nospamespn dot com 
All Views expressed in this email are strictly personal. 
QOTD: Any clod can have facts, having an opinion is an art ! 

-----Original Message----- 
Sent: Friday, September 26, 2003 7:40 AM 
To: Multiple recipients of list ORACLE-L 

> Called from where? :) I think Tanel, Mladen and you missed the ironical
> point -- if it can't be called from SQL why it is a deterministic one?
Erm.. ee.. if you put a wrapper function over it which retuns number... (just joking) Ok, I was too short-sighted there. I just checked from v$type_size that boolean still exists and didn't think much more.
> P.S.: Tanel, I do not need an example, it was a joke.
I actually checked whether it was possible to still conduct some kind of working example, but didn't succed in 5 minutes, so be it ;) Tanel. Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -- Please see the official ORACLE-L FAQ: -- Author: Mladen Gogala INET: Fat City Network Services -- 858-538-5051 San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: (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 Fri Sep 26 2003 - 09:19:39 CDT

Original text of this message