Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h8QFirv06925
 for <oracle-l@orafaq.net>; Fri, 26 Sep 2003 10:44:53 -0500
X-ClientAddr: 66.27.56.212
Received: from www3.fatcity.com (rrcs-west-66-27-56-212.biz.rr.com [66.27.56.212])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h8QFilc06914
 for <oracle-l@orafaq.net>; Fri, 26 Sep 2003 10:44:47 -0500
Received: (from root@localhost)
 by www3.fatcity.com (8.11.6/8.11.6) id h8QD5d932009
 for oracle-l@orafaq.net; Fri, 26 Sep 2003 06:05:39 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D12EC; Fri, 26 Sep 2003 06:04:47 -0800
Message-ID: <F001.005D12EC.20030926060447@fatcity.com>
Date: Fri, 26 Sep 2003 06:04:47 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Jamadagni, Rajendra" <Rajendra.Jamadagni@espn.com>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Jamadagni, Rajendra" <Rajendra.Jamadagni@espn.com>
Subject: RE: equivalent for isdate, isnumeric
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/mixed;	boundary="----=_NextPartTM-000-f73ef755-e61b-4c49-acdf-a34e6f70a4bd"
------=_NextPartTM-000-f73ef755-e61b-4c49-acdf-a34e6f70a4bd
Content-Type: multipart/alternative;
 boundary="----_=_NextPart_001_01C3842E.468D5CA3"
------_=_NextPart_001_01C3842E.468D5CA3
Content-Type: text/plain;
 charset="iso-8859-1"

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.

------_=_NextPart_001_01C3842E.468D5CA3
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: equivalent for isdate, isnumeric</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>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.</FONT></P>

<P><FONT SIZE=3D2>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.</FONT></P>

<P><FONT SIZE=3D2>Raj</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
-----------------</FONT>
<BR><FONT SIZE=3D2>Rajendra dot Jamadagni at nospamespn dot com</FONT>
<BR><FONT SIZE=3D2>All Views expressed in this email are strictly =
personal.</FONT>
<BR><FONT SIZE=3D2>QOTD: Any clod can have facts, having an opinion is =
an art !</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Tanel Poder [<A =
HREF=3D"mailto:tanel.poder.003@mail.ee">mailto:tanel.poder.003@mail.ee</=
A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, September 26, 2003 7:40 AM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: Re: equivalent for isdate, isnumeric</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; Called from where? :) I think Tanel, Mladen and =
you missed the ironical</FONT>
<BR><FONT SIZE=3D2>&gt; point -- if it can't be called from SQL why it =
is a deterministic one?</FONT>
</P>

<P><FONT SIZE=3D2>Erm.. ee.. if you put a wrapper function over it =
which retuns number...</FONT>
<BR><FONT SIZE=3D2>(just joking)</FONT>
</P>

<P><FONT SIZE=3D2>Ok, I was too short-sighted there. I just checked =
from v$type_size that</FONT>
<BR><FONT SIZE=3D2>boolean still exists and didn't think much =
more.</FONT>
</P>

<P><FONT SIZE=3D2>&gt; P.S.: Tanel, I do not need an example, it was a =
joke.</FONT>
</P>

<P><FONT SIZE=3D2>I actually checked whether it was possible to still =
conduct some kind of</FONT>
<BR><FONT SIZE=3D2>working example, but didn't succed in 5 minutes, so =
be it ;)</FONT>
</P>

<P><FONT SIZE=3D2>Tanel.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3842E.468D5CA3--


------=_NextPartTM-000-f73ef755-e61b-4c49-acdf-a34e6f70a4bd
Content-Type: text/plain;
 name="ESPN_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="ESPN_Disclaimer.txt"

********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************2

------=_NextPartTM-000-f73ef755-e61b-4c49-acdf-a34e6f70a4bd--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni@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@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).

