For getting the back date

dear all,
i want to display 10 days back date from today date
like sysdate - 20 days back date.
please send me the query for getting the date of back
Thanks in advance

Hi do you want all the dates from the back date to sysdate or only the particular back date
SQL> select sysdate from dual;
SYSDATE
22-JUN-09
SQL> select sysdate-10 from dual;
SYSDATE-1
12-JUN-09or if you want all the back dates starting from one particular then
SQL> select sysdate-10+level from dual
  2  connect by level<=10;
SYSDATE-1
13-JUN-09
14-JUN-09
15-JUN-09
16-JUN-09
17-JUN-09
18-JUN-09
19-JUN-09
20-JUN-09
21-JUN-09
22-JUN-09
10 rows selected.Edited by: oracle_for_dude on Jun 22, 2009 12:11 PM

Similar Messages

  • API for getting the build date of development components

    Hello ,
          we are changing the format of the  <about> screen of our application. We show the version of the main development components that are the part of our application.
    For the version date of the development components, we were earlier showing the deployment date. However we now plan to change it to their build date. We need to know if there is any API to find the build date of the development components.
    Thanks alot in advance for helping!

    Hi do you want all the dates from the back date to sysdate or only the particular back date
    SQL> select sysdate from dual;
    SYSDATE
    22-JUN-09
    SQL> select sysdate-10 from dual;
    SYSDATE-1
    12-JUN-09or if you want all the back dates starting from one particular then
    SQL> select sysdate-10+level from dual
      2  connect by level<=10;
    SYSDATE-1
    13-JUN-09
    14-JUN-09
    15-JUN-09
    16-JUN-09
    17-JUN-09
    18-JUN-09
    19-JUN-09
    20-JUN-09
    21-JUN-09
    22-JUN-09
    10 rows selected.Edited by: oracle_for_dude on Jun 22, 2009 12:11 PM

  • Function Module for getting the desired date

    Hi All,
    I need a function module where in get the date value from Current date - 540 days.
    i,e System Date - 540 days = ????
    Thanks
    Suresh

    previous FM works good , this is for ur info , to give in month, date and year instead of onlly days
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
        EXPORTING
          date      = sy-datum
          months    = '00'
          days      = '07'
          years     = '00'
          signum    = '-'
        IMPORTING
          calc_date = w_due_date.
    Message was edited by: chandrasekhar jagarlamudi
    Message was edited by: chandrasekhar jagarlamudi

  • How to get the current Date

    With the following piece of code, I am able to get the current date in bpe forms, but not when I put it in any of the forms logged in using end user(not even in end user menu).
    <Field name='request.submitDate'>
    <Display class='Label'>
    <Property name='value'>
    <invoke name='dateToString' class='com.waveset.util.Util'>
    <ref>java.util.Date</ref>
    </invoke>
    </Property>
    </Display>
    </Field>
    The following error is getting displayed in the end user menu form.
    XPRESS exception:
    Can't call method dateToString on class com.waveset.util.Util ==> java.lang.NullPointerException: -------can anyone please help me out
    or can anyone suggest a way for getting the current date
    Regards
    Gajendra Nagapurkar

    The <ref> tag is used to refer to the value of some variable. The value of the variable java.util.Date in your example is NULL, because it doesn't exist!
    If you remove that argument from your <invoke>, the call resolves to the method com.waveset.util.Util.dateToString() and will return something like "20050810 11:00:21".

  • How to get the back order quantity for sales Order

    Hi Friends,
    I want to get the back order quantity for sales order . in MD04 t-code,
    there is a field(MDEZ-MNG01) for Received Qty/ Required qty.  But MDEZ is a structure.
    I tried from MDTB table, but the table is not updated with the values in MD04.
    Please guide me from which table I can get the back order Qty for sales Order
    (ref: t-code  MD04, MRP element = CusOrd).
    Thanks,
    Sagar

    >
    VIdya Sagar wrote:
    > Hi,
    >
    > Isn't  there any difference b/n Open Sales Order and Back order??
    Yes Quite Difference.
    Read:
    http://www.sap-img.com/sap-sd/explain-the-meaning-of-an-open-sales-order.htm
    http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/b6/bdb9b2f02842348c9edbe78af863c4/content.htm

  • The back button no longer works. I have disabled all add-ons, rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    the back button no longer works. I have disabled all add-ons,rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • When backing up on time machine is get " The back up disk image'/volume/data/eric balnchard's Macbook.sparbundle"could not be accessed (error-1). what does it mean? it's a new time machine

    when backing up on time machine is get " The back up disk image'/volume/data/eric balnchard's Macbook.sparbundle"could not be accessed (error-1). what does it mean? it's a new time machine

    Expect to see this error again due to a bug in Lion (and Mountain Lion).
    See # C17 in Pondini's excellent support document below, or look over to the right of this web page under the heading of More Like This
    http://pondini.org/TM/Troubleshooting.html

  • My MacBook Pro got wet and I lost all of my childs photos from the day she was born. Is there anyway I could get these pictures back from my iCloud? I actually care more for getting the photos back than I do my laptop. Please help! Thank you!

    My MacBook Pro got wet and I lost all of my childs photos from the day she was born. Is there anyway I could get these pictures back from my iCloud? I actually care more for getting the photos back than I do my laptop. Please help! Thank

    Welcome to the Apple community khnkOliver.
    I assume these photos, or at least not all of them weren't in photo stream.
    You should be able to recover your photos from a back up.

  • How to get the histoical data for newly added field in the cube?

    Hi Experts,
    I have small doubt on remodeling the infocube.
    After adding the characteristic or keyfigure  to a cube by using remodeling concept, how can I get the historical data for that particular field.
    I have searched in SDN also but I didn't get proper information.
    Please excuse me if I posted repeated question.
    helpful answer will be awarded with poitns.
    Thanks & regards,
    Venkat.

    hi
    depending on your customer need you could use the remodelling functionnality but sometimes you have no way to retrieve what you want so another option you should consider is the following:
    Advantages
    that will cost less effort and guarantee the result.
    Drawbacks
    data is redondant for a while
    space (depending on the volume of historical data)
    So here are the steps :
    step 1Adjust your extraction process according to the fields you need to add to populate the cube.
    step 2 Then create a dso next or even a cube, feed the dso with a full load with the enhanced extractor you adjusted with the new fields in step 1 only once in fact this should be one shot.
    step 3 Copy the query to the previous built  multi-provider on top of the new historical data from dso and the running live delta cube. Adjust the queries if necessary.
    optionnal Then if you want to get rid of the dso or new cube for historical data you could empty the actual one push the data from the new data provider and that's all.
    bye
    Boujema

  • What are the prerequisite for getting MTTR / MTBR data.

    Dear SAP Experts,
    I want to know what are the prerequisite for getting MTTR / MTBR data.
    Regards
    ERP Tech

    Pre-requisites are:
    Maintain Start date in Equipment / Functional location master
    Maintain the Malfunction Start date & time, Malfunction End Date & time in Notification
    Maintain the Breakdown tick mark in notification
    Maintain update group (stats) in Notification type configuration (IMG - Plant Maintenance & Customer Service - Maintenance & Service Processing - Maintenance & Service Notifications - Notification types - Define Notification types)

  • When we get the actual data in BPC for planning, is the data consolidated

    I had a question regarding Planning. When we get the actual data in BPC for planning, is the data consolidated? Do we need to run the consolidation business rules( IC Booking, Matching, IC Eliminations) on the data before we can use it for planning? Per my understanding we have to run Currency Conversion on this...correct?
    Also, where do I get my actual data from? Does ECC/ Source system have data from all entities( CHQ, Region and Countries)?
    Please help!
    Thanks in advance

    Hi Kimi,
    In a hierarchical structure, the data is always loaded in to the base level, and the data is automatically rolled up to its parents.
    The currency conversion will also take place at the base level, and as mentioned earlier, the converted data will also be rolled up as per the hierarchy.
    The heading of this thread says planning. So, ideally, there wont be any legal (or statutory) consolidation. You might use the US elimination however, for eliminating the intercompany transactions, if any.
    The planning can be done as zero based (wherein the user has to enter the planned data manually from scratch) or non-zero based (wherein the planned data of previous year is copied and the user can change the data as required).
    The flow of events cannot be suggested by us. It has to be discussed with the business to understand how do they do the planning.
    Hope this helps.

  • How should i get the delta data for those new object's previous delta data?

    Hallo all,
    i have 2lis_11_vahdr and i am using a standard and loading delta! now i have appended some new fields in the datasource then in infosource then in ods and infocube..! now how should i get the delta data for those new object's previous delta data???
    Jimmy

    Hi,
    After appending new fields in the datasoure.It is not possible to delta load, u should have to load everything
    Thanks,
    Shreya

  • The dates my photos were taken are now incorrect.  Any suggestions on how to get the correct dates back?

    The dates my photos were taken are not incorrect.  Any suggestions on how to get the correct dates back?

    Thank you Winston.  This works and I can adjust several photos at the same time.

  • Not able to get the Qualification data from BAPI

    Hi all,
    I am using a BAPI (BAPI_JOBREQUIRE_GETLIST) to get the qualifiaction data for requirement profile. It's working fine earlier but I did not get the qualification data from this BAPI, although the data is there in DB against this requirement profile.
    Can someone suggest me why I am getting this issue. I have looked into SDN and in BAPI documentation and found as below:
    "You require authorization (structural authorization) to read the Requirements subprofile."
    I am having the same User ID as I had before (when I getting back the correct data), so I don't think it should be authorization issue.
    Can someone help me out in this issue please.
    Thanks,
    Sanket Sethi

    Hi Shiva,
    It does not going to these includes at all. Message comes out with successfully done. The BApi is calling RHPP_COMMON_QUALI_READ inside, but this will not return any data. But if will call any qualification object ID, this BAPI will come up with data.
    So the QP type LO profile will not come up with any kind of data, but if we pass the OTYPE as Q and pass any Qualification object ID then the data will be returned.
    Is there any relationship or some other thing is missing? Any idea.
    Thanks,
    Sanket Sethi

  • Is it possible to get the raw data?

    Hi,
    I am trying to do a program that sends to a server the data captured by a webcam, but I need to send it with java sockets.
    How can I get the raw data from a DataSource to send it myself?
    Thanks

    Hi
    It is absolutely possible to get the data - anyone you have in your org with basic SQL skills can move the data off to a standalone SQL server. This could be done most simply by backing up and restoring the DB using SQL Enterprise Manager.
    Moving the CAR/ART reporting tool would be more difficult... if you do actually use that for reporting (most people find it doesn't do what they need and don't use it for anything but basic troubleshooting, and get a third party package) then the best option may be to keep your publisher (possibly assigning it a new IP) and leave it running for as long as you need reporting.
    You would then need a new server to run your upgraded V6 CCM; you may find you need this anyway.
    Regards
    Aaron
    Please rate helpful posts...

Maybe you are looking for

  • Database and page Load Issue

    Well recently I needed to change the database tables and had to remove one table within the databse. Using MySQL 5 After I cleaned up all traces of information related to the table which was removed I decided to deploy and try out the application. Wh

  • I can't open iTunes and I can't delete. I get  error--43

    iTunes 10.5. 2  will not run. Message comes up looking for quicktime version 7.5.5. I am running ver. 7.7.

  • Need help on HTTP AAE Sender channel PI 7.4

    Hi Experts , My scenario is sender system will be sending .xml file using HTTP request to Middle ware (SAP PI )  . Receiver is ECC System  where IDOC is generated  . Its Async Scenario . I have used HTTP AAE sender channel . Now need to some help on

  • Optical Out Surround

    I hooked up a surround sound receiver to my optical out on my powermac dual g5. I can get it to work with just 2 channels but not with surround? when i switch to digital encoded it stops playing sound. What can I do? I wanted to use the surround to w

  • Compatibility of Informatica with SAP Netweaver BI 2004s

    Hi, Currently we are using Informatica Power Center Version 6 with SAP BW Version 3.1. So far there has been no problems in terms of connectivity or extraction. We are now looking to upgrade to SAP Netweaver BI 2004s. Would anyone be able to tell whe