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: equivalent for isdate, isnumeric

RE: equivalent for isdate, isnumeric

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Fri, 26 Sep 2003 06:04:47 -0800
Message-ID: <F001.005D12EC.20030926060447@fatcity.com>


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.

Raj




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.


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni_at_espn.com

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 Fri Sep 26 2003 - 09:04:47 CDT

Original text of this message

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