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 h8QGEwZ08940
 for <oracle-l@orafaq.net>; Fri, 26 Sep 2003 11:14:58 -0500
X-ClientAddr: 66.27.56.213
Received: from www2.fatcity.com (rrcs-west-66-27-56-213.biz.rr.com [66.27.56.213])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h8QGEvc08935
 for <oracle-l@orafaq.net>; Fri, 26 Sep 2003 11:14:57 -0500
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id h8QDZpu22697
 for oracle-l@orafaq.net; Fri, 26 Sep 2003 06:35:51 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D12F4; Fri, 26 Sep 2003 06:19:39 -0800
Message-ID: <F001.005D12F4.20030926061939@fatcity.com>
Date: Fri, 26 Sep 2003 06:19:39 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Mladen Gogala" <mladen@wangtrading.com>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Mladen Gogala" <mladen@wangtrading.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/alternative;	boundary="----=_NextPart_000_0019_01C3840F.287CCFB0"
------=_NextPart_000_0019_01C3840F.287CCFB0
Content-Type: text/plain;
 charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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


-----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 n=
ot
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=20
-------------------------------------------------------------------------=
---
----=20
Rajendra dot Jamadagni at nospamespn dot com=20
All Views expressed in this email are strictly personal.=20
QOTD: Any clod can have facts, having an opinion is an art !=20


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


> Called from where? :) I think Tanel, Mladen and you missed the ironical=
=20
> 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...=20
(just joking)=20

Ok, I was too short-sighted there. I just checked from v$type_size that=20
boolean still exists and didn't think much more.=20

> P.S.: Tanel, I do not need an example, it was a joke.=20

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 ;)=20

Tanel.=20




Note:
This message is for the named person's use only.  It may contain confiden=
tial, proprietary or legally privileged information.  No confidentiality =
or privilege is waived or lost by any mistransmission.  If you receive th=
is message in error, please immediately delete it and all copies of it fr=
om your system, destroy any hard copies of it and notify the sender.  You=
=20must not, directly or indirectly, use, disclose, distribute, print, or=
=20copy any part of this message if you are not the intended recipient. W=
ang Trading LLC and any of its subsidiaries each reserve the right to mon=
itor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, e=
xcept where the message states otherwise and the sender is authorized to =
state them to be the views of any such entity.


------=_NextPart_000_0019_01C3840F.287CCFB0
Content-Type: text/html;
 charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-asci=
i">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D343321613-26092003><FONT face=3DArial color=3D#0000ff =
size=3D2>Or,=20
the function can be written to return number. It's not so hard to do. If =
there=20
are problems,</FONT></SPAN></DIV>
<DIV><SPAN class=3D343321613-26092003><FONT face=3DArial color=3D#0000ff =
size=3D2>please=20
let me know, I'll post the new version of the code, wrapped.</FONT></SPAN=
></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV align=3Dleft>--<BR>Mladen Gogala<BR>Oracle DBA <BR></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px so=
lid; MARGIN-RIGHT: 0px">
=20 <DIV></DIV>
=20 <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft=
><FONT=20
=20 face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
=20 ml-errors@fatcity.com [mailto:ml-errors@fatcity.com] <B>On Behalf Of =

=20 </B>Jamadagni, Rajendra<BR><B>Sent:</B> Friday, September 26, 2003 10=
:05=20
=20 AM<BR><B>To:</B> Multiple recipients of list ORACLE-L<BR><B>Subject:<=
/B> RE:=20
=20 equivalent for isdate, isnumeric<BR><BR></FONT></DIV>
=20 <P><FONT size=3D2>you could however use diutil.bool_to_int and=20
=20 diutil.int_to_bool which is used by oracle to transmit/receive Boolea=
n data=20
=20 across SqlNet.</FONT></P>
=20 <P><FONT size=3D2>Since others have pointed out, Boolean is not a SQL=
=20datatype,=20
=20 you could not build a FBI around it, deterministic or no, it doesn't =
make a=20
=20 difference. Use diutil.bool_to_int around the return value and your f=
unction=20
=20 returns a number (0 or 1) and now you can build a FBI.</FONT></P>
=20 <P><FONT size=3D2>Raj</FONT> <BR><FONT=20
=20 size=3D2>------------------------------------------------------------=
--------------------</FONT>=20
=20 <BR><FONT size=3D2>Rajendra dot Jamadagni at nospamespn dot com</FONT=
> <BR><FONT=20
=20 size=3D2>All Views expressed in this email are strictly personal.</FO=
NT>=20
=20 <BR><FONT size=3D2>QOTD: Any clod can have facts, having an opinion i=
s an art=20
=20 !</FONT> </P><BR>
=20 <P><FONT size=3D2>-----Original Message-----</FONT> <BR><FONT size=3D=
2>From: Tanel=20
=20 Poder [<A=20
=20 href=3D"mailto:tanel.poder.003@mail.ee">mailto:tanel.poder.003@mail.e=
e</A>]</FONT>=20
=20 <BR><FONT size=3D2>Sent: Friday, September 26, 2003 7:40 AM</FONT> <B=
R><FONT=20
=20 size=3D2>To: Multiple recipients of list ORACLE-L</FONT> <BR><FONT=20
=20 size=3D2>Subject: Re: equivalent for isdate, isnumeric</FONT> </P><BR=
>
=20 <P><FONT size=3D2>&gt; Called from where? :) I think Tanel, Mladen an=
d you=20
=20 missed the ironical</FONT> <BR><FONT size=3D2>&gt; point -- if it can=
't be=20
=20 called from SQL why it is a deterministic one?</FONT> </P>
=20 <P><FONT size=3D2>Erm.. ee.. if you put a wrapper function over it wh=
ich retuns=20
=20 number...</FONT> <BR><FONT size=3D2>(just joking)</FONT> </P>
=20 <P><FONT size=3D2>Ok, I was too short-sighted there. I just checked f=
rom=20
=20 v$type_size that</FONT> <BR><FONT size=3D2>boolean still exists and d=
idn't think=20
=20 much more.</FONT> </P>
=20 <P><FONT size=3D2>&gt; P.S.: Tanel, I do not need an example, it was =
a=20
=20 joke.</FONT> </P>
=20 <P><FONT size=3D2>I actually checked whether it was possible to still=
=20conduct=20
=20 some kind of</FONT> <BR><FONT size=3D2>working example, but didn't su=
cced in 5=20
=20 minutes, so be it ;)</FONT> </P>
=20 <P><FONT size=3D2>Tanel.</FONT> </P></BLOCKQUOTE>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>Note:</STRONG></DIV>
<DIV>This message is for the named person's use only.&nbsp; It may contai=
n=20
confidential, proprietary or legally privileged information.&nbsp; No=20
confidentiality or privilege is waived or lost by any mistransmission.&nb=
sp; If=20
you receive this message in error,&nbsp;please immediately delete it and =
all=20
copies of it from your system, destroy any hard copies of it and notify t=
he=20
sender.&nbsp; You must not, directly or indirectly, use, disclose, distri=
bute,=20
print, or copy any part of this message if you are not the intended=20
recipient.&nbsp;<STRONG><FONT color=3D#ff8000>Wang Trading=20
LLC&nbsp;</FONT></STRONG>and any of its subsidiaries each reserve the rig=
ht to=20
monitor all e-mail communications through its networks.&nbsp; Any views=20
expressed in this message are those of the individual sender, except wher=
e the=20
message states otherwise and the sender is authorized to state them to be=
=20the=20
views of any such entity.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
</BODY></HTML>

------=_NextPart_000_0019_01C3840F.287CCFB0--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: mladen@wangtrading.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).

