aspose file tools*
The moose likes JDBC and the fly likes query in oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "query in oracle" Watch "query in oracle" New topic
Author

query in oracle

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
How to get a date format in (dd-MON-CCYY) by writing a query in oracle.

CC- Century


Thanks,
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39409
    
  28
Surely you use the SimpleDateFormat class or the %T tags to format the data after retrieval from the database?
Paul Campbell
Ranch Hand

Joined: Oct 06, 2007
Posts: 338
or use TO_CHAR(column_with_date,"dd-mon-yyyy") in your query.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: query in oracle