Come back early next year.

I know that you can return the absolute beginning of a year with:
TRUNC (SYSDATE, 'YYYY')

but given only sysdate, how do I find the absolute beginning of the year NEXT?
Just add 365 will not always work.
Thank you.

Use ADD_MONTHS?

SQL> select trunc(sysdate, 'yyyy')
  2  ,      trunc(add_months(sysdate, 12), 'yyyy')
  3  from   dual;

TRUNC(SYSDATE,'YYYY TRUNC(ADD_MONTHS(SY
------------------- -------------------
01-01-2010 00:00:00 01-01-2011 00:00:00

Tags: Database

Similar Questions

Maybe you are looking for

  • The airPort Extreme is not working after Firmware update

    Hello At our office, we have several AirPort Extreme or TimeCapsules and one of them (AirPort Extreme) stop working properly after the update 7.7.7 The update itself is supposed to be ok and we have updated all our stations but it only seems to not w

  • Problems importing the files from an SD card to iMovie

    After I have import files from an SD card to version 10.1.1 iMovie I have a problem when I eject the SD card then some of the files show just like a question mark (?) and some of the files are saved. I've never had this happen before that I can remem

  • "Desktop" option from menu bars!

    MacBook Pro (retina, 13 inches, end of 2013) PROCESSOR - 2.4 GHz Intel Core i5 MEMORY - DDR3 4 GB 1600 MHz OS X EL CAPITAN Vs - 10.11.1 Hello! Please can someone help me with this? I have google everyday but I'm always hurt! When I want to load a fil

  • Go to my blackberry smartphones blackBerry email

    These last two days I received no email in my blackberry. I was strange, so I logged onto my email on my computer to see that I got a mail unread that I had gotten in the last days, but they are not sent to my phone.  I do not change no matter which

  • E-mail of the eBS XML editor

    We R12.1.3 eBS with the XML Editor, and generate reports using models created with MS Word to RTF. Is - this any way/API, to send the output from the XML Editor to get the list of receivers.Thank youAlex