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 h8Q0mko06631
 for <oracle-l@orafaq.net>; Thu, 25 Sep 2003 19:48:46 -0500
X-ClientAddr: 66.27.56.210
Received: from ns3.fatcity.com (rrcs-west-66-27-56-210.biz.rr.com [66.27.56.210])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h8Q0mkc06626
 for <oracle-l@orafaq.net>; Thu, 25 Sep 2003 19:48:46 -0500
Received: from ns3.fatcity.com (localhost.localdomain [127.0.0.1])
 by ns3.fatcity.com (8.12.8/8.12.8) with ESMTP id h8PMA1ZU019124
 for <oracle-l@orafaq.net>; Thu, 25 Sep 2003 15:10:03 -0700
Received: (from root@localhost)
 by ns3.fatcity.com (8.12.8/8.12.5/Submit) id h8PM0QeT017272
 for oracle-l@orafaq.net; Thu, 25 Sep 2003 15:00:26 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D1158; Thu, 25 Sep 2003 14:59:55 -0800
Message-ID: <F001.005D1158.20030925145955@fatcity.com>
Date: Thu, 25 Sep 2003 14:59:55 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Tanel Poder" <tanel.poder.003@mail.ee>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Tanel Poder" <tanel.poder.003@mail.ee>
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: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi!

Boolean is a datatype existing and usable in Oracle.
Deterministic is an Oracle way to tell a function is deterministic, i.e.
always returning the same result on the same input. Required for FBIs for
example.

http://tahiti.oracle.com

Tanel.

----- Original Message ----- 
To: "Multiple recipients of list ORACLE-L" <ORACLE-L@fatcity.com>
Sent: Thursday, September 25, 2003 9:54 PM


> boolean is not SQL datatype and it's unclear what "deterministic"
> means here.
>
> Mladen Gogala wrote:
> > create or replace function
> > isnumeric(str varchar2) return boolean deterministic
> > as
> >   num number:=0;
> > begin
> >   num:=to_number(str);
> >   return(true);
> > exception
> >   when others then
> > return(false);
> > end;
> > /
> >
> > --
> > Mladen Gogala
> > Oracle DBA
> -- 
> Vladimir Begun
> The statements and opinions expressed here are my own and
> do not necessarily represent those of Oracle Corporation.
>
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Vladimir Begun
>   INET: Vladimir.Begun@oracle.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).
>


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tanel Poder
  INET: tanel.poder.003@mail.ee

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).

