Skip to Main Content
  • Questions
  • query for report generation in oracle 11g

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, satheesh kumar.

Asked: June 09, 2017 - 1:27 pm UTC

Last updated: June 11, 2017 - 7:04 am UTC

Version: bank

Viewed 1000+ times

You Asked

how to generate a month wise,year wise report for banking?

and Connor said...

select trunc(date_col,'MM') ...

will truncate a date down to the month

select trunc(date_col,'YYYY') ...

will truncate a date down to the year


Is this answer out of date? If it is, please let us know via a Comment