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: Oracle date format question

Re: Oracle date format question

From: <jtesta_at_dmc-it.com>
Date: Wed, 21 Apr 2004 14:39:53 -0400 (EDT)
Message-ID: <40803.155.188.191.4.1082572793.squirrel@www.dmc-it.com>


if the data is fixed length, check out substr, variable but a way to search use instr and substr.

joe

 I have a varchar column with data in the format yyyy/mm/dd hh .  I need to pull the year and the month into separate fields so I can  select and group them.
 Can anyone tell me the easiest way to do this?

 Thanks!
 Ron=20



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

 To unsubscribe send email to: oracle-l-request_at_freelists.org  put 'unsubscribe' in the subject line.
 --
 Archives are at http://www.freelists.org/archives/oracle-l/  FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html


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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Wed Apr 21 2004 - 13:39:56 CDT

Original text of this message

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