Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> how to format

how to format

From: <javanewbie_at_my-deja.com>
Date: Fri, 22 Oct 1999 06:19:59 GMT
Message-ID: <7uovmc$b1c$1@nnrp1.deja.com>


1999-01-01 00:00:00.0

String str2= "select TO_DATE('19990101','YYYYMMDD') from foreign_worker_master where " +
" ( renewal_date > TO_DATE('19990701','YYYYMMDD') and renewal_date < TO_DATE('19990801','YYYYMMDD') ) " ; i want the select to return only the date , ie.

19990101

instead of

1999-01-01 00:00:00.0

Thanks anyway.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Oct 22 1999 - 01:19:59 CDT

Original text of this message

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