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: Grabowy, Chris <chris.grabowy_at_lmco.com>
Date: Fri, 26 Sep 2003 12:24:40 -0800
Message-ID: <F001.005D1352.20030926122440@fatcity.com>


You must work for SCO...

-----Original Message-----
Mladen Gogala
Sent: Thursday, September 25, 2003 12:35 PM To: Multiple recipients of list ORACLE-L

Hey, I'll sue you for using my code. My code is fair and balanced and you
cannot use it
without paying royalties.

--
Mladen Gogala
Oracle DBA 




> -----Original Message-----
> From: ml-errors_at_fatcity.com [mailto:ml-errors_at_fatcity.com] On
> Behalf Of AK
> Sent: Thursday, September 25, 2003 12:20 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: equivalent for isdate, isnumeric
>
>
> I am not sure if there is any such function in 9i . But you
> can definnitely accomplish this by writing your own function
> something like
> function isNum(a varchar2) returns boolean is
> begin
> b := tonumber(a);
> result = true;
> return result;
> exception
> when (numer or value error) -- get proper exception
> result=false
> return result;
> end;
>
> same can be done for isDate as well.
>
> -ak
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Thursday, September 25, 2003 8:34 AM
>
>
> > 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_at_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_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).
> >
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: AK
> INET: oramagic_at_hotmail.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).
>
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_at_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_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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Grabowy, Chris INET: chris.grabowy_at_lmco.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 - 15:24:40 CDT

Original text of this message

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