Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

query in oracle  RSS feed

 
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: 53739
127
  • 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
Boost this thread!