Display the year as [2008-2009]

Database Oracle 9i, windows 2003
"I have one a date point I want to show like this ' 2008-2009".

How is it possbile?

Kami,

Something like that,

  SELECT    ''''
       || EXTRACT (YEAR FROM SYSDATE)
       || '-'
       || EXTRACT (YEAR FROM ADD_MONTHS (SYSDATE, 12))
       || ''''
          new_date
FROM DUAL;

NEW_DATE
----------------------------
'2008-2009'
1 row selected.

Tags: Database

Similar Questions

  • List security fixes not released by microsoft over the years 2007 to 2009

    Hi all

    Currently, I am looking for the list of security patches not released by microsoft over the years 2007 to 2009.

    I am aware that most of these islands are very old and new version (superseeded) patches have been released by microsoft.

    But I have a very specific requirement of our client companies to make the list of those available patches.

    Please help me to get the list of patches for the mentioned period. (no link or KB containing the corresponding list will do)

    Thanks adavance :)

    DNR

    Please see the message in your thread on Technet.  You can also try Googling the information as we do.

    https://social.technet.Microsoft.com/forums/en-us/0f25d5bd-6e64-4B34-a2d3-a42f55f594fa/list-of-non-security-patches-released-by-Microsoft-during-years-2007-to-2009?Forum=winserverManagement

  • To display the year when no data for this line

    Hello

    I am trying to achieve more,

    When I "No Data" for my year, the year should be displayed in chart (line/Bar) with "Zero" as a measure. (currently it removes my year with data '0' ie. 2009)

    I have the following data:


    Sales Rev year
    2008 100 1000
    2009 0 0
    1500 150 2010
    1750 175 2011


    I tried following the advice of blogs... but I guess I could miss a step IMP.

    Any help is appreciated.

    Kind regards
    Jitendra

    Hello

    Try the implicit column

    http://OBIEE.nl/?tag=dimensional-modelling&paged=2

    Thank you
    deep

  • Displays the year in 113 instead of 2013

    I get a year of the Date and use it on a page. This has always displayed as 2011, 2012 etc and yet, he displays 2013 in IE but displays in Firefox as 113.

    Thank you that worked perfectly.

  • Is it safe to remove the old Windows 2008/2009 updates?

    It is safe to delete/remove old updates day of 2008 and 2009 to free up space on a computer?

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_update/is-it-OK-to-UninstallRemove-software-XP-updates/339888cc-cc88-4150-bc6c-bb64b3a2e089>

    See the Shenan Stanley response to a previous post:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_update/can-i-safely-delete-old-Windows-security-updates/c63db7fd-bf2a-4179-9d83-981fb41ca823>

    UTC/GMT is 22:31 on Monday, June 25, 2012

  • How to make a difference in the years of sysdate

    Hi all

    I want to display the years 2005 to sysdate. I tried this, but it gives the same year SYSDATEs 6 times.

    SELECT EXTRACT (YEAR SYSDATE + LEVEL-1) FROM DUAL CONNECT BY LEVEL < TRUNC (MONTHS_BETWEEN (SYSDATE, TO_DATE('2005','YYYY')) / 12)

    Thanks in advance,
    PAL

    PAL,

    hope below allows

     select extract(year from sysdate) - level +1 from dual connect by level <= ( extract(year from sysdate) - 2005 + 1) ;
    

    Kind regards
    Vijay.

  • How to get out the year following the date

    Hi all

    I'm couldn't get out of the year to date.
    in my table it has been stored in varchar format on January 11, 2005
    If I want to display the year of the column, then
    I tried with year (to_date (' ' jan 11 2005 ', ' mm dd yyyy ' "))
    but I get an error then, how should I go out the year of the date_column

    thnks

    Hello

    Use RIGHT(DATE_COLUMN,4)

    Thank you
    Saichand.v

  • When I started to update my iphone to ios 10 and watch 3.0, cannot already display the pictures of my watch. Logo of loading only. And he thinks it will take a hayss of 1000 years. Help, please

    When I started to update my iphone to ios 10 and watch 3.0, cannot already display the pictures of my watch. Logo of loading only. And he thinks it will take a hayss of 1000 years. Help, please

    Hello

    If the software on your watch is being updated, leave your watch and your iPhone until the process is complete (including the not remove your watch on the charger):

    Update the software on your Apple Watch - Apple Support

  • I have a laptop Lenovo bought in the spring of 2008 running on Vista Home Premium. After years of basically no problem, I got warnings my memory was almost full.

    I have a laptop Lenovo bought in the spring of 2008 running on Vista Home Premium.  After years of basically no problem, I got warnings my memory was almost full.  I'm no computer guy, I'm a retired OTR trucker who now lives for people with disabilities.  I checked my system and found Lenovo had two partitions on the hard drive.  The main logic were my programs were only 30gig on a disk hard 150 gigabytes.

    After talking to some friends who know more then me and research, I copied all my personal files on a stick to 4gig and erased the hard drive.  Spent New Years day adaptation of files, wipe the HD, install Vista again and then 6 and hours of updates.

    Monday, I installed my old files, installed new software and reinstall some of my previous, as well as several updates of Windows.

    Tuesday a finer adjustment and more windows updates.

    Today, Wednesday, right off the bat I installed another Windows update.  Update has been installed, computer shut down, restarted, then the computer stopped at step 1 of 3 @ 97%.  I went for half an hour to come back to an error screen telling me I had a corrupted file and to reinstall Vista and using my factor disc repair system.  I wasn't allowed this option.

    I subsequently through trying different restarts that File:\Windows\system32\winload.exe has been corrupted or damaged or missing Windows update attempt.  Given that I had my Windows disk that I was never worried before making a boot disk.  I/we (family of 6) do not have the financial means to purchase recovery discs, go to a tech help.  We are ourselves.  Can someone help me out here?  Are all my personal details on my laptop, a lot of money and time tied up in programs, I can't access.

    I don't know how this forum works.  My email is * address email is removed from the privacy *.

    P. S.

    With all this, if I have to reinstall windows I better upgrade to a 32-bit on a 64-bit?  This will cause problems with existing programs? I see a noticeable improvement in speed?  I checked and I can't change to 64-bit.

    Hello

    Since you have a Lenovo, you can try to get to WinRE among advanced startup options (f8) and performa than a system restore or if you must organize a drive to install Windows Vista full version and try to perform a system restore in Windows recovery environment and check if that helps.
    For more information, you can consult the following articles:

    What are the system recovery options in Windows Vista?

  • I have a problem with the key, I aktivate Photoshop CS 6 after buying fo little years. But the drive hard ist crasht a moment the aktivate display the error. Please you can reset the key?

    I have a problem with
    the key, I have aktivate Photoshop CS 6 after buying fo little years. But the
    Drive hard ist crasht a moment the aktivate display the error. Please you can reset the
    key?

    Hi berndp3095653,

    Greetings.

    You must contact the customer as some changes to do on the backend

    Contact the customer service

    Concerning

    Rohit

  • With the help of SQL, need to display the previous year, current year and the year next to single variable

    Hi all

    We have an obligation to state the previous year, current year and values of the year next as a LOV in the ADF page.

    This is the query that retrieves the previous year, current year and next year. But the result of this query displays values in 3 columns:

    Select (Extract(year from sysdate)-1), extract (year sysdate), (extract (year sysdate) + 1) twice;

    Output:

    2012 2013 2014


    But I want to display them in a single with 3 rows as column:

    2012

    2013

    2014


    Please your ideas.

    or in the same way

    SELECT EXTRACT (YEAR FROM ADD_MONTHS (SYSDATE, 12 *(LEVEL-2)))

    OF the double

    connect by level<>

  • Displays the quarter of the year as a select list

    Hi all

    I need to display the quarter of the current year in the selection list.
    for example, the year is 2012
    I want Jan to March 2012, April-June 2012, 2012 July-September, October-December 2012 in the selection list.


    Thanks in advance

    Kind regards
    Jitendra

    Hi Jitendra,

    You can do it like this:

      select 'Jan-Mar '||extract(year from sysdate) d, 1 r from dual
      union all
      select 'Apr-Jun '||extract(year from sysdate) d, 2 r from dual
      union all
      select 'July-Sep '||extract(year from sysdate) d, 3 r from dual
      union all
      select 'Oct-Dec '||extract(year from sysdate) d, 4 r from dual
    

    BR,
    Marko Goricki

  • Is there a tag to display the current year? For example, the exercise of copyright?

    Is there a tag to display the current year? For example, the exercise of copyright? I want to put this in the site map (I guess) so it is displayed on the footer of each page.

    With the addition of liquid you can easily do this using:

    {{globals.site.dateNow | date: "yyyy"}}

    Please review the documentation to learn more about what you can achieve with liquid:

    Introduction to liquid

    Liquid | Reference

  • Display the current Date in the Format year (and now - 1, etc.)

    Our form has columns headers that need to change each year, positions are the current year (2010) + 3 previous years.  Trying to programmatically add the titles to eliminate changing the shape just to change the year, but not finding not how and was check some samples date found, but no success yet.  My question is the 2 part - how/where can I put code, I don't need the user to enter something, I want just a column header.  This example below is where I copied the idea from a sample and tried to compensate, calculate for a date/time field event, and I get an error message that says: "the view model 'date-{MM/YYYY]' is not compatible with the data format of the object.  Define a display compatible model.  This view model error is the 2nd part of the question.  How can I show only the 4 digit year?

    Year1.RawValue

    = num2date (date (), 'YYYY')

    How to achieve this - am newbie on this!  Thank you very much!

    I'd be happy to take a look at the form. stwalker. [email protected]

    Steve

  • Why my display of the date of the mailbox does not have a / between the year and the month?

    I'm talking here about how the date of different e-mails appear in my Inbox. I have a / between the month and the day, and a / after the day, but I did not / between the year and the month.

    TB uses the date format short, such that defined by your operating system, which, in the case of Windows, is located in the Panel control/region and language.

    http://KB.mozillazine.org/Date_display_format

    There are a few modules that might also be useful:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ConfigDate/

    https://addons.Mozilla.org/en-us/Thunderbird/addon/Super-date-format/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

Maybe you are looking for