You need to retrieve quarter on the basis of a single period.

Hi Experts,

I under request now, it returns me to the period (from now on) NOV - 14 based on a defined indicator of front end.

SELECT dcpv.cal_period_name
      FROM apps.fem_dim_attributes_vl dav,
           apps.fem_cal_periods_attr  dcpa,
           apps.fem_cal_periods_vl    dcpv
     WHERE dav.attribute_id = dcpa.attribute_id
       AND dcpa.cal_period_id = dcpv.cal_period_id
       AND dav.attribute_varchar_label = 'CUR_PERIOD_FLAG'
       AND dcpa.dim_attribute_varchar_member = 'Y';

My requirement is, I need to recover month quarter on the basis of this period, as for November-14 quarter is Q4.

Result would be like:

14 OCT

NOV-14

DEC-14

Now when the period November-14 is closed and opens on December 14 and then above suite returns DEC-14 and I need all the quarter four months (OCT-14, NOV-14 DEC - 14).

Once the DEC-14 is closed and JAN - 15 is open, I need quarter a period (JAN-15, 15 - FEB, MAR-15). Kindly inviting you to suggest how to achieve this.

Try as...

the quarters as)

dates of selection add_months (trunc(sysdate,'Year'), level-1)

TO_CHAR (add_months (trunc(sysdate,'Year'), level-1), 'Q') q

of the double

connect by level<>

)

Select to_char(dates,'MON-RR') month_yr

q

of (to_char (to_date ('FEB - 14', ' MON-RR'), 'Q') select in_date)

of the double

) your_table--> place the SELECT query that gives the result as NOV-14

neighborhoods

where q = in_date

;

Tags: Database

Similar Questions

  • F &amp; G Committee &lt; ' F &amp; G Committee' &gt; is not a valid e-mail address because it is not the form user@host. You need to correct before sending the e-mail message.

    Out with the new v.31.1.0, the: 2 September 2014 version of Thunderbird, I can email is no longer a list of recipients, getting the error msg: F & G Committee < ' F & G Committee' > is not a valid e-mail address because it is not the form user@host. You need to correct before sending the e-mail message. In earlier versions, the addresses of individual e-mail in the list (F & G Committee in this case) are automatically placed in as the e-mail is sent. Is there a solution to this problem?

    Read this.
    https://support.Mozilla.org/en-us/questions/1019019

  • do you need a power supply to the current entry with data acquisition or 9265

    Hello I just receive the NI 9265 Daq for research in my lab. I'm trying to present entry and display it on an oscilloscope. I don't get anything. I did some research on the internet, so my question is do you need a power supply to the current entry with data acquisition or 9265?

    Read the data sheet.  Clearly on the first page is a sentence which reads "the NI 9265 requires 9 V to 36 V external power.

  • To view all of the content of this document, you need a later version of the PDF Viewer.

    I'm tryinbgn to read some PDFs on a website but get this message"

    To view all of the content of this document, you need a later version of the PDF Viewer. '


    I have the most updated version and another pdf on the site opened just well... suggestions?


    Hi richardr32727316 ,

    Please provide the exact point of the software & OS installed on your system

    Would you please check with different Internet browser.

    Also to disable the firewall & security services to reproduce the problem.

    This phenomenon occurs with all documents or with other institutions.

    Please refer to this article:- https://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

    I would like to know if it works.

    Kind regards

    Christian

  • Cannot open a pdf file from the website of immigration canada. Gets a message - you need a later version of the same player after update still not working

    Cannot open a pdf file from the website of immigration canada. Gets a message - you need a later version of the same player after update still not working

    10 Windows Internet Explorer with the Acrobat Reader plugin is available.

  • I signed up for CC. I don't know that this Dreamweaver will come into conflict with my older version of CS5. You can run two versions of the DW on a single computer?

    I signed up for CC. I don't know that this Dreamweaver will come into conflict with my older version of CS5. You can run two versions of the DW on a single computer?

    You can run two versions of the DW on a single computer?

    Yes.  Please do not duplicate messages.

    Nancy O.

  • You need a newer version of the Pages to open this document.

    I have Pages 5.5.3.

    I created documents as recently as two days ago, but now I can no longer open them as a drop-down list advises me that "it takes a more recent version of the Pages to open this document."  This issue is beyond a joke!  I locked myself in my own documents? Please help as soon as POSSIBLE.

    You have 2 versions of Pages on your Mac.

    5.5.3 pages in your Applications , Pages ' 09 file in your Applications/iWork file.

    You have double-clicked on a document of 5 Pages , and he opened the Pages ' 09 , which cannot open it. Because the two versions have the same file extension .pages

    Right-click on the document and choosing 5 Pages (orange icon) to open it.

    Pages ' 09 may have been abandoned by Apple, but it always works and still has over 100 features more than 5 Pages and is much more effective and faster.

    Continue to use Pages ' 09, unless you need to Exchange files with an iPad.

    Peter

  • You need adobe first to clean the background noise of a multitrack?

    No, all the tools for the cleaning of the background noise of an audio file are built hearing. You need only Premiere Pro if you edit video files.

  • Need to retrieve data from the internal 512 GB sata drive (now removed the MB).

    MUSIC have a 512 GB mb pro with internal chips removed sata disk. I need to get information from the drive (now removed the MB). I expect to get the data via the USB port.  How to do this and with what cable. I have a MB air as replacement.

    Thanks for your help.

    Use this external case: http://eshop.macsales.com/item/OWC/MSTG800U3K/.  I replace in clone disks, data readers, testdrives for new OSXes, etc.  Any 2.5-inch drive, really.

  • Help! You need to retrieve the Junk folder is empty.

    I checked e-mail boxes in the junk as "not junk" folder and they went successfully to the Inbox, gates must have clicked 'empty' in the spam box. These emails I wanted to read in my Inbox disappeared and never have the Inbox. How can I get back them? I'm desperate!

    Thank you

    Sorry, I have no idea why someone refers you to the Firefox support for a problem with Hotmail / support Outlook.com . Firefox does is display the data that is stored in Hotmail, through Outlook.com interface; Firefox does not record anything - no emails, no record or anything. The only thing that Firefox stores is a cache of what has been seen to Outlook.com. You can try to clear the "hide" & cookies to see if that helps you.

    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Click the menu button

      Click on the history button, and then click clear recent history...

    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    Also see these.
    http://Windows.Microsoft.com/en-us/Hotmail/Hotmail-help
    "All Hotmail customers have been upgraded to Outlook.com."
    http://Windows.Microsoft.com/en-us/Windows/Outlook-help
    http://email.about.com/od/Outlook.com-tips/Qt/how-to-contact-Outlook-COM-support.htm

  • Do you need to uninstall MSE before the upgrade to Windows 7?

    I am upgrading to Windows 7 Home Premium from XP, uninstall MSE for the upgrade?

    There is no place in upgrade from Windows XP to Windows 7, so disabling or uninstalling, so be it, you will need to do a custom installation.

    The upgrade to Windows XP?

    Please read these instructions carefully and completely before you begin installing Windows 7: there are important steps that you must follow to upgrade your PC from Windows XP to Windows 7 in order to preserve your files and settings.

    Before you begin, you'll need to backup all your data to an external storage device, and you will need all the installation discs for the programs that you want to keep. Please make sure that you have an external hard drive (see details below).

     

    More detailed instructions are available at windows.microsoft.com/upgrade-windows-xp. Here are the basic steps.

    1. start Windows Upgrade Advisor (windows.microsoft.com/upgradeadvisor) to see if there are known issues that may affect the installation and the question of whether you should install the version of 32 or 64 bit Windows 7.

    2 back up your files and settings on an external hard drive using Windows Easy Transfer (windows.microsoft.com/windows-easy-transfer). If you do not have an external hard drive, you will not be able to use Windows Easy Transfer. Alternatively, you can copy the files you want to keep on a USB stick, CD or DVD.

    3. you will need to manually reinstall your programs, such as Microsoft Office, after I installed Windows 7. Gather the installation for your programs and all partner/license product key discs. You may be able to download programs from the Internet. For example, Windows Live Messenger can be installed from the download.live.com/messenger.

    4. Insert the Windows 7 DVD in your PC. When asked "which type of installation you want. Click on "Custom (advanced)."

    5. when Windows 7 is installed, use Windows Easy Transfer to restore your files and settings.

    If you are not comfortable Windows 7 installation, check with a local retail or the services of the PC company store to see if they offer upgrade services.

    http://www.notebooks.com/2009/10/13/WinXP-to-Win7/

  • How to cancel Adobe Creative cloud when you are blocked for a year after the first month and you need to pay 50% of the cost? Outregous!

    So bad that I couldn't cancel my subscription. A very big family problem is forcing me to cancel all my subscriptions, among them creative cloud. When you try to do, I learn I'm stuck unless I pay 50% of the cost of the remaining months. I am therefore be punished for having financial problems. The nice guy helped me with two months free, but the thing is 50%. You ever thing about future problems when you accept contracts like that. And they simply don't care. Adobe is so amazing, but so rigid. This is me.

    Hi Mario,.

    Please consult the General conditions of subscription as below:

    Adobe - General conditions of subscription

    The cancellation, have referred the help below document:

    Cancel your membership creative cloud

    You will need to contact customer service for cancellation requests.

    Kind regards

    Sheena

  • Need to retrieve information from the user who blocked the account

    Hi all

    As we had forced her, we changed the password of our schema.

    The same pattern has been locked up in the next day morning.

    We have required to generate the information to senior management who has blocked the account by giving the wrong password.

    Kindly guide / help me to retrieve the USER information.

    Thanks in advance.
    Orahar

    Hello

    SQL> show parameter audit
    ORA-00942: table or view does not exist
    

    you're trying the foregoing to the privileged user not DBA.

    Try your user SYS or SYSTEM.

    Kind regards
    Delphine K

  • You need to pass arguments to the Sub - VI which runs in parallel to the main vi.

    Please help me.

    I can pass arguments to a subvi using "call-by-reference-node" but the sub - vi will not work in parallel.  I can also run my sub - vi in parallel using "invoke the node", but then cannot pass arguments.  I can't understand how to merge these two concepts.

    When I open the reference VI, I specify the strict type, using call-by-reference-node.  When I use call node, I don't specify the type.  It seems that specifying the type strict guard screw run in parallel, but also seems necessary to pass arguments.

    I apologize for my absence of a deeper understanding of this and appreciate any help you can give me.

    Chris

    You must invoke 'Ctrl Val.Set' node.

  • You need to retrieve product key for Office 2007.

    I bought Microsoft Office Ulimate fly when I was a student. My laptop broke and I bought a new one and want to install office but I don't have the 25-digit product key but I have the 'certificate of authenticity' on the disc packaging. How can I get my product key?

    http://support.Microsoft.com/kb/823570

    How to get a new product key for a Microsoft Office product

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    For ALL questions of office:

    Office:

    http://www.Microsoft.com/Office/Community/en-us/flyoutoverview.mspx

    Office newsgroups

    http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Office.misc&lang=en&CR=us

    Discussions of general issues of the Office.

    They will help you with your office questions when repost you in the Office discussion groups above.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for