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: selecting on time

RE: selecting on time

From: <Rick_Cale_at_teamhealth.com>
Date: Wed, 06 Mar 2002 09:43:52 -0800
Message-ID: <F001.00420E0A.20020306094352@fatcity.com>

Tom,

Ooops, Yes I did!!!

Thanks
Rick

                                                                                                                                 
                    "Mercadante, Thomas F"                                                                                       
                    <Thomas.Mercadante_at_Labor.St        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    ate.Ny.Us>                         cc:                                                                       
                    Sent by: root_at_fatcity.com          Subject:     RE: selecting on time                                        
                                                                                                                                 
                                                                                                                                 
                    03/06/2002 11:48 AM                                                                                          
                    Please respond to ORACLE-L                                                                                   
                                                                                                                                 
                                                                                                                                 




Rick,

don't you mean:

SELECT ...
FROM table
WHERE TO_NUMBER(TO_CHAR(date_field,'HH24SS')) > 1400;

                                      ==
                                      ^^

:)

Tom Mercadante
Oracle Certified Professional

-----Original Message-----

Sent: Wednesday, March 06, 2002 10:28 AM To: Multiple recipients of list ORACLE-L

One way would be the following

SELECT ...
FROM table
WHERE TO_NUMBER(TO_CHAR(date_field,'HHSS')) > 1400;

Rick

                    John Dunn

                    <john.dunn_at_se        To:     Multiple recipients of
list
ORACLE-L <ORACLE-L_at_fatcity.com>
                    fas.co.uk>           cc:

                    Sent by:             Subject:     selecting on time

                    root_at_fatcity.

                    com





                    03/06/2002

                    09:48 AM

                    Please

                    respond to

                    ORACLE-L









I need to do a select based upon the time element in a date column. i.e, eg where the time is greater than 14:00

Can anyone provide an example of how to do this?

John
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: John Dunn
  INET: john.dunn_at_sefas.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

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

Author:
  INET: Rick_Cale_at_teamhealth.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

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

Author: Mercadante, Thomas F
  INET: Thomas.Mercadante_at_Labor.State.Ny.Us
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

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

Author:
  INET: Rick_Cale_at_teamhealth.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
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 Wed Mar 06 2002 - 11:43:52 CST

Original text of this message

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