Win a copy of Functional Reactive Programming this week in the Other Languages 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
Pie
Posts: 50258
79
  • 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