The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Answer for ur query..

Posted by Hema on May 16, 2001 at 4:41 AM

Hi,

Use this oracle query for the required format

select to_char(to_date(sysdate,'dd-mon-yy'),'Month dd,yyyy')||' at ' || to_char(to_date(sysdate,'dd-mon-yy'),'hh:mi:ss')from dual

Instead of sysdate give ur datefield name and instead of dual use ur table name.

If not satisfied see below


try ur own query...!





Replies:
  • reply sukesh June 21, 2001 at 6:59 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us