select round( sysdate, 'q' ) "Quarter" : ROUND Date « Date Timezone « Oracle PL / SQL






select round( sysdate, 'q' ) "Quarter"

 
SQL>
SQL>
SQL> select round( sysdate, 'q' ) "Quarter"
  2  from dual
  3  /
Quarter
---------
01-JUL-08

1 row selected.

SQL>
SQL>
SQL> --

 








Related examples in the same category

1.Syntax: ROUND(, [])
2.Rounding to the nearest minute
3.ROUND: Round a date to a particular month or year
4.select round( sysdate )
5.select round( sysdate, 'year' )
6.select round( sysdate, 'month' )