This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring 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: 48363
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