If you cannot calculate how many days in a year, here is an easy example for you. Write down the bellow code directly in sql*plus or SQL Developer or any others tools and get the result. :)
If any query, just leave your comments...
SELECT ADD_MONTHS(TRUNC(SYSDATE,'RRRR'),12)-TRUNC(SYSDATE,'RRRR')Hope it helps...
FROM DUAL;
If any query, just leave your comments...
No comments:
Post a Comment