Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

query in oracle

 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get a date format in (dd-MON-CCYY) by writing a query in oracle.

CC- Century
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surely you use the SimpleDateFormat class or the %T tags to format the data after retrieval from the database?
 
Paul Campbell
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or use TO_CHAR(column_with_date,"dd-mon-yyyy") in your query.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic