Last time refresh data

How to write a query to determine the last time data of a particular table was refreshed in the database ?

RTFM [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/pseudocolumns007.htm#BABFAFIC]ORA_ROWSCN Pseudocolumn

Similar Messages

  • How to implement real-time refresh datas in obiee?

    How to implement real-time refresh datas in obiee?

    Can you elaborate more...
    If you want to see refreshed data in OBIEE Reports, you need to implement Caching mechanism based on how you often refresh warehouse..
    [http://download.oracle.com/docs/cd/E05553_01/books/admintool/admintool_QueryCaching6.html]

  • Real Time Refresh Data in Dashboards

    Hi
    How I can see near to real time refresh data in the OBIA Dashboards?
    Scheduling ETL over night only show the data posted a day ago.
    Regards
    Naeem Akhtar

    Hi,
    In order to show fresh data in dashboards(not from cache) we go for event polling table.
    Using Event Pooling will run the incremental Load to show real time data?No it dosent run any incremental load, it purge cache to show fresh data in dashboards
    Go through below guide which will help you out -
    http://docs.oracle.com/cd/E14571_01/bi.1111/e10541/querycaching.htm#i1005513
    http://gerardnico.com/wiki/dat/obiee/event_table
    Regards,
    Srikanth

  • Displaying the Last Query Refresh date/time

    Hello,
    on a Webi report, is there a way to display the date/time that the underlying info provider was refreshed?
    Thanks,
    Nikhi

    1.- Create Formula in Query (columns - Create Formula)
    2.- Create Formula Variable for this Formula (Type Customer EXIT) as individual and optional.
    3.- Define the code for customer exits for variables.
    *-- To get Timestamp for last load of data to cube
    WHEN 'ZLSTLOADDT'.
    DATA: lt_tab_1 TYPE TABLE OF rsdcubemulti,
          ls_tab_1 TYPE rsdcubemulti,
          lt_tab_2 TYPE TABLE OF rsmonicdp,
          ls_tab_2 TYPE rsmonicdp.
    DATA: l_calday   TYPE d,
          l_time     TYPE sy-uzeit,
          l_tzone    TYPE ttzz-tzone,
          l_string   TYPE char20.
          SELECT * FROM rsdcubemulti INTO TABLE lt_tab_1
                  WHERE infocube = i_s_cob_pro-infoprov
                    AND objvers = 'A'.
          SORT lt_tab_1 DESCENDING.
          CLEAR ls_tab_1.
          READ TABLE lt_tab_1 INTO ls_tab_1 INDEX 1.
          REFRESH lt_tab_2.
          SELECT * FROM rsmonicdp INTO TABLE lt_tab_2
                  WHERE icube = ls_tab_1-partcube.
          SORT lt_tab_2 DESCENDING.
          CLEAR ls_tab_2.
          READ TABLE lt_tab_2 INTO ls_tab_2 INDEX 1.
          l_tzone = 'INDIA'. "CET, UTC...
          CONVERT TIME STAMP ls_tab_2-timestamp TIME ZONE l_tzone
                     INTO DATE l_calday "aaaammdd
                          TIME l_time.  "hhmmss
          l_s_range-low = l_calday.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
          EXIT.
        WHEN 'ZLSTLOADTM'.
    DATA: lt_tab_1 TYPE TABLE OF rsdcubemulti,
          ls_tab_1 TYPE rsdcubemulti,
          lt_tab_2 TYPE TABLE OF rsmonicdp,
          ls_tab_2 TYPE rsmonicdp.
    DATA: l_calday   TYPE d,
          l_time     TYPE sy-uzeit,
          l_tzone    TYPE ttzz-tzone,
          l_string   TYPE char20.
          SELECT * FROM rsdcubemulti INTO TABLE lt_tab_1
                  WHERE infocube = i_s_cob_pro-infoprov
                    AND objvers = 'A'.
          SORT lt_tab_1 DESCENDING.
          CLEAR ls_tab_1.
          READ TABLE lt_tab_1 INTO ls_tab_1 INDEX 1.
          REFRESH lt_tab_2.
          SELECT * FROM rsmonicdp INTO TABLE lt_tab_2
                  WHERE icube = ls_tab_1-partcube.
          SORT lt_tab_2 DESCENDING.
          CLEAR ls_tab_2.
          READ TABLE lt_tab_2 INTO ls_tab_2 INDEX 1.
          l_tzone = 'INDIA'. "CET, UTC...
          CONVERT TIME STAMP ls_tab_2-timestamp TIME ZONE l_tzone
                     INTO DATE l_calday "aaaammdd
                          TIME l_time.  "hhmmss
          l_s_range-low = l_time.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
          EXIT.

  • I want to run SSIS package every time based on last time job processed data time.........

    Hi all,
    i have SSIS package ..its needs run every day .for that we were schedule a job for ssis..
    but we need when package going to run that time we have to take data, besed on last time processed date..for that am using msdb data base to get process date ..but am not yet schedule a job am going to do 1st time..
    insde the package am using this query using execte sql task 
    SELECT     CASE WHEN DateDiff(Day, CONVERT(DATETIME, LEFT(MAX(H.run_date), 8)), GetDate()) = 0 THEN 30 ELSE DateDiff(Day, CONVERT(DATETIME, LEFT(MAX(H.run_date), 8)), GetDate()) END   AS Dates
    FROM            dbo.sysjobhistory AS H INNER JOIN
                             dbo.sysjobs AS J ON H.job_id = J.job_id
    WHERE        (H.run_status = 1) ..
    if job already ran means its was working fine.if job not yet scheduled means its giving error...
    pandiyan

    Try this one on:
    SELECT COALESCE(dates,fallBack) AS dates, name
    FROM (
    SELECT 30 AS fallBack
    ) b
    LEFT OUTER JOIN (
    SELECT CASE WHEN DateDiff(Day, CONVERT(DATETIME, LEFT(MAX(H.run_date), 8)), GetDate()) = 0 THEN 30
    ELSE DateDiff(Day, CONVERT(DATETIME, LEFT(MAX(H.run_date), 8)), GetDate())
    END AS Dates,
    j.name
    FROM dbo.sysjobhistory AS H
    INNER JOIN dbo.sysjobs AS J
    ON H.job_id = J.job_id
    WHERE H.run_status = 1
    GROUP by j.name
    ) a
    ON b.fallBack = b.fallBack
    You might want to consider filtering on j.name or j.job_id to get the info for the specific job.

  • Last Refreshed Date with Timezone

    Post Author: kongusiva
    CA Forum: WebIntelligence Reporting
    Hi,
    We have one requirements like below, we need to display Last Refreshed date which helps to see when the report got refreshed before.
    Present:            Last Refreshed Date: 01-JAN-2008 1:29 PM
    Requirement:     Last Refreshed Date: 01-JAN-2008 1:29 PM EST
                Users like to see the Time Zones also in the Last refreshed Date
    Please suggest me how to resolve the issue.
    Thanks
    Siva..

    Post Author: kcheeb
    CA Forum: WebIntelligence Reporting
    You could use the format editor, select Date and Time tab, Customize, Time tab then use the Format Formula Editor for the AM & PM symbols to add the time zone to the end of the AM or PM string.

  • How to limit data range in a Line chart with Time Refresh Control

    Hi All,
    I have a Line chart with Time Refresh Control and I would like to make some constraints to this navigation.
    For example, I would like to limit the user to navigate in a data range of 8 hours.
    Is this posible?
    Thanks in advance

    Hi Pedro,
    as far as I know, this is not possible using the time controls on an iChart. However, you may have some success by using your own time controls which call JavaScript methods exposed by the applet.
    For example, you could begin by hiding the time and calendar buttons on an iChart, and creating some buttons of your own. For instance, to set the start date of a query (and thus the start date of the iChart using the query), you can use the following:
    document.getElementById("appletID").getQueryObject().setStartDate(<date string>);
    Using code like the above (look into the xMII script assistant and documentation), you should be able to build time controls which satisfy your requirements. The exact format of <date string> in the sample above will depend on the date format defined in the query template this script calls.
    Hope this helps,
    Sascha

  • Why my iPod (6th generation)not appearing in iTunes and all my songs are gone but the data is the same with last time when got songs.

    why my iPod (6th generation)not appearing in iTunes and all my songs are gone but the data is the same with last time when got songs.

    I understand that your iPod nano is not recognized in iTunes. The following troubleshooting assistant may provide a resolution:
    Apple - Support - iPod nano (6th generation) - iTunes Troubleshooting Assistant
    http://www.apple.com/support/ipodnano/6th_generation/assistant/itunes/
    If the above did not resolve your issue, choose an applicable article below that best describes your issue.
    Windows
    iPod appears in Windows but not in iTunes
    iPod not recognized in 'My Computer' and in iTunes for Windows
    iTunes reports that "iTunes cannot recognize this iPod at this time"
    Mac OS X
    iPod not recognized in iTunes and Mac Desktop
    MacBook and MacBook Air: iPod won't mount when connected via USB hub
    What to do if your computer won't recognize a USB or FireWire device
    Thanks,
    Matt M. 

  • BAPI -  user last modified Name, Date and Time in SU01 of a Particular User

    HI Experts,
    After searched a lot in SDN , i am posting this thread,
    I want to know any  Standard BAPI  to give LAST modified User name , time and Date in SU01 of a particular User.
    I checked * BAPI_USER_GET_DETAIL* , its giving LAST modified  time and Date in SU01, But I want Last modified user name as well.
    I have 2 questions related with the above scenario,
    1) Which BAPI gives the details of LAST modified User name , time and Date in SU01 of a particular User.
    2) Any Table is there to give details of LAST modified User name , time and Date in SU01 of a particular User for a time period ,
    For eg : 1 month, if i would have set the time line, it should give the three details .
    Regards,
    Saravana.S

    Hi,
    I am not sure, if there would be any BAPI particularly for giving such particular information. Even if you can, you  might have to call 2 BAPIs, one for finding the list of such users modified within 1 month eg., and then getting the mod date and mod time.
    BAPI_USER_GETLIST - this can be used for searching.. but tricky
    then you have to call another bapi for getting the details.
    One option is you can create a new Z BAPI using the table and get the results.
    Regards,
    Amit Mittal.

  • Script to query OU for last Windows update date and time

    Hi All, I need help in writing a script which can query an OU in active directory and then return most recent date of windows updates installation. It will also be helpful if the script can sort the names and then send output to a file (any format will
    do). I know basic of querying a local computer but not remote query, I am terrible at scripting side of powershell. Thanks people.

    I am referring to the script below, how can I get the result to output in an XLS or CSV format, I tried couple of combinations but couldn't get it to work.# This script shows the last time that a successfull Windows Update was installed.clsadd-PSSnapin quest.activeroles.admanagement 
    $OnlineServers = @() 
    Get-QADComputer -SearchRoot 'domain.com/ServerOU'-OSName "Windows*Server*"| %{ 
      $PingResult = Get-WmiObject-Query "SELECT * FROM win32_PingStatus WHERE address='$($_.Name)'"If ($PingResult.StatusCode -eq 0)  
         # Add the current name to the array$OnlineServers+= "$($_.Name)" 
    foreach ($Serverin$OnlineServers ) 
            $key = “SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install” 
            $keytype = [Microsoft.Win32.RegistryHive]::LocalMachine 
            $RemoteBase = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey($keytype,$Server) 
            $regKey = $RemoteBase.OpenSubKey($key) 
            $KeyValue = $regkey.GetValue(”LastSuccessTime”) 
            $System = (Get-Date-Format "yyyy-MM-dd hh:mm:ss")  
            if    ($KeyValue-lt $System) 
                Write-Host " " 
                Write-Host $Server"Last time updates were installed was: "$KeyValue
        }

  • HT1212 If I never synced to itunes and I restore the device. Will I lose unstored data? How can I check to see the last time my phone was backed up if I forgot the passcode to my phone?

    If I never synced to itunes and I restore the device. Will I lose unstored data? How can I check to see the last time my phone was backed up if I forgot the passcode to my phone?

    If you can't remember your passcode, you'll need to restore your phone.  If you never synched to iTunes, all data on your phone will be erased.  No way around this.

  • How to know the User name and date, who executed the report last time.

    Hi All,
    We are collecting a list of reports which are not executed for past 3 months. Can anybody tell me how to know the username and date they executed the report last time.
    Is there any table to look ? or is there any process ?
    Thanks,
    Ravi.

    Ravi,
    Use SE16 - then look at rszcompdir.
    We look up Version = 13 for queries.
    Regards
    Gill

  • Compare current time and date with last modified?

    Compare current time and date with last modified?
    What is the ideal way to compared the last modified from the File class with the current date and time? last modifed value from File class is a long.

    798642 wrote:
    So what do I do to compare whether the current date and time and later than the lastModified ?
    if(file.lastModified() < System.currentTimeMillis()) {
    Like that?That tests whether the last modified time is before "now"--that is if the file was not modified in the future, so, yes.

  • EVDRE: refresh dimension cache files each time user saves or refreshes data

    Hi experts,
    We're facing a performance trouble with our input schedules, so we pretend to decrease response times.
    We've noticed an unexpected issue when users work with input schedules. Each time they save or refresh data into any input schedule, it seems to execute a dimension files refresh. Since they push Save buton till standard success message appears, we see diferent text messages in excel messages bar, in the bottom of excel window. And for a while, we can see a message where we can read "Load dimension cache".
    Does anyone know if this is an standar behaviour? Is there any way to avoid that, so we can decrease response time regarding input schedule performance?? Is there any dimension files refresh while we save data from an input schedule?
    Thanks in advance.

    I see these, too, running Fx12 on Windows 7. They are described in the (extremely voluminous!) about:cache interface as page thumbnails. I've attached some screen shots.
    The text is extremely difficult to see, so I don't know whether it is a serious privacy/security risk. I would be curious to know how long they linger.
    I think these support the Windows feature of showing a preview of a window or tab when you float over a taskbar button. (No idea whether there is a similar preview feature on Mac.) This feature is not enabled by default; users need to enable it in about:config. However, add-ons may be able to use the thumbnails because they have privileged access to the cache.
    (Note: This feature was added pursuant to [https://bugzilla.mozilla.org/show_bug.cgi?id=497543 497543 – Provide a thumbnail service]. It "landed" on or about Jan. 28, 2012, so its first appearance in a released version of Firefox might have been Fx12.)

  • Date when the cube was filled with data for the last time

    Hi!
    We are using a SAP BW System and on top of it BOBJ for reporting. Within BEx Web Application Designer, it's very simple to access the data, when the cube was filled with data for the last time. Is it possible to access this information within BOBJ, too?
    Thanks for your help!
    Greetings
    Stefan

    Hallo Ingo,
    thanks for your answer. That was exactly what we were looking for.
    We will have to think about a workaround now.
    Greetings
    Stefan

Maybe you are looking for

  • Flagging tools not working in LR 5.7

    when I click on flagging tool it highlights it like it has selected it, when I move on to next pic it does not show it grid folder, or when I go back to previous photo it is not selected any more. this also happens when I use shortcut keys as well (X

  • My apple HD display 30" is only showing 1600x800

    I have just bought a new mac mini with the following specifications: 2.3 GHz Intel Core i5 , 8GB 1333MHz DDr3, using Mac OS X 10.7.3 I have a Cinema HD Display 30", and I am not being able to increase the resolucion to 2560x1600 pixels. The screen is

  • How to burn data CD/DVD that opens to the first level of folders?

    I want to burn a data disc (with Toast if possible) that automatically opens up to the first level of folders with no toolbar when inserted.

  • Problem in document distribution

    Dear guys, I am facing problem in document distribution and having error attached if anyone can help me in this regard. Thanks in advance

  • Problem with Snow Leopard and file sharing

    I mostly work at home where I have an 18 months-old intel iMac 24'' running Leopard and an older iMac G5 20'' (PowerPC) running Tiger. Besides, I have a three months-old MacBook Pro 17" in which I recently upgraded the system to Snow Leopard. Before