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 h8PIId517859
 for <oracle-l@orafaq.net>; Thu, 25 Sep 2003 13:18:39 -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 h8PIIcc17854
 for <oracle-l@orafaq.net>; Thu, 25 Sep 2003 13:18:38 -0500
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id h8PFdsU13128
 for oracle-l@orafaq.net; Thu, 25 Sep 2003 08:39:54 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D10E4; Thu, 25 Sep 2003 08:24:47 -0800
Message-ID: <F001.005D10E4.20030925082447@fatcity.com>
Date: Thu, 25 Sep 2003 08:24:47 -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: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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 



> -----Original Message-----
> From: ml-errors@fatcity.com [mailto:ml-errors@fatcity.com] On 
> Behalf Of Shiva Maran
> Sent: Thursday, September 25, 2003 11:35 AM
> To: Multiple recipients of list ORACLE-L
> Subject: equivalent for isdate, isnumeric
> 
> 
> Hi All,
> 
>   I am investigating an effort to move our product into 
> Oracle from SQL Server. Came across the function isnumeric, 
> isdate in SQL Server that returns true or false if the input 
> string is in a form that can be converted into a numeric or 
> date type. searched in oracle help and am not able to find an 
> equivalent. Is there any equivalent form of these functions 
> in Oracle??
> 
> Thanks,
> ShivaM
> 
> DISCLAIMER: This e-mail contains proprietary information some 
> or all of which may be legally privileged. It is for the 
> intended recipient only. If an addressing or transmission 
> error has misdirected this e-mail, please notify the author 
> by replying to this e-mail. If you are not the intended 
> recipient, you must not use, 
> save, disclose, distribute, copy, print or relay this e-mail.
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Shiva Maran
>   INET: Shivam@talisma.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).
> 




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

