Why Am I able to view flashback query longer than undo_retention?

Hi
this is what I did
SQL> select sysdate from dual;
SYSDATE
2008-11-23 16:55:39
--to find out the lower transaction end
SQL> exec :v_lower_timestamp:='2008-11-23 15:55:39';
--adjust the timestamp to a lower value than will overshot the undo_retention
SQL> update emp set sal=sal*2 where empno=:v_empno;
1 row updated.
SQL> commit;
Commit complete.
SQL> select sysdate from dual;
SYSDATE
2008-11-23 16:59:14
SQL> exec :v_upper_timestamp:='2008-11-23 16:59:14';
SQL> SELECT * FROM emp AS OF TIMESTAMP TO_TIMESTAMP(:v_lower_timestamp, :v_date_ format) WHERE empno=:v_empno;
EMPNO ENAME JOB MGR HIREDATE SAL
COMM DEPTNO
7934 MILLER CLERK 7782 1982-01-23 00:00:00 650
10
SQL> SELECT * FROM emp AS OF TIMESTAMP TO_TIMESTAMP(:v_upper_timestamp, :v_date_ format) WHERE empno=:v_empno;
EMPNO ENAME JOB MGR HIREDATE SAL
COMM DEPTNO
7934 MILLER CLERK 7782 1982-01-23 00:00:00 1300
10
but when I try to do that for flashback transaction query
SQL> SELECT versions_startscn, versions_endscn, versions_xid, versions_operation ,
ename, sal
FROM emp
VERSIONS BETWEEN TIMESTAMP
TO_TIMESTAMP(:v_lower_timestamp, :v_date_format)
AND TO_TIMESTAMP(:v_upper_timestamp, :v_date_format)
WHERE empno=:v_empno;
2 3 4 5 6 7 FROM emp
ERROR at line 3:
ORA-30052: invalid lower limit snapshot expression
--but the moment I raise the lower timestamp limit
SQL> exec :v_lower_timestamp:='2008-11-23 16:55:39';
VERSIONS_STARTSCN VERSIONS_ENDSCN VERSIONS_XID V ENAME SAL
619162 0300250051010000 U MILLER 1300
619162 MILLER 650
flashback transaction works, this is understandable.
but my question is why flashback query does allow the snapshot to be capture even longer than the undo_retention specified by but not flashback version query?
thanks a lot!

Select 10 files and open the files, then select and open the next 10 files.

Similar Messages

  • Not able to view data from more than one data package in PSA

    Hi Friends,
    Desparetly trying to view data in PSA. Problem :
    If i mark more than one datapackage this error raises:
    You must only select one data packet when entering data record numbers
    Message no. RSAODS127
    And there is no change to reset data record numbers.
    What is wrong ?
    Thanks in advance for help.
    Joe
    BW3.5, SP21
    Edited by: J.F.B. on Jul 2, 2009 11:40 AM

    Hi again,
    Seems I'm too stupid for this issue.......
    As I understand there are two ways to view PSA :
    1. PSA maintenance in RSA1
    2. In SE11/SE16 viewing the underlaying transparent table
    ad 1.
    When I try to filter erroneous records for more than one datapackage situation is as described above.
    ad 2.
    Trying to view the table works, but where is the chararcteristic/field marking a  record as erroneous
    in table /BIC/Bxxxxxxxx (table containing PSA-Data) ?
    Thanks
    Joe

  • Not able to scroll thru text longer than text field in Safari

    Though long press and drag seems to work in other apps, in Safari, I am not able to scroll within a text field (when there is more text that the field can show at a time) . E.g on google Search box (web page). Any tips?

    It's STILL NOT FIXED in IOS 8.1.2
    dave
    ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
    [QUOTE]
    Heya'
    I 'think' it's CRAPLOA...due to coders, BS issue REMAINS on iPad is of IOS 8.1.1 (12B435)
    ...updating to 8.1.2 now...
    Don't recall if on iPhone  Ver. 8.1.2 (12B440) ?    Gonna look 2C....
    dave
    [END QUOTE]

  • Why do emails on my Macbook Air take longer than they do to appear on the server site?

    When I send or receive an email by clicking on the email icon at the bottom of the screen, it often takes longer to be sent or be received than if I go directly into the internet email site where it appears immediately.  At times, some people to whom I have sent emails do not receive them until hours later and conversely, incoming emails appear on the internet email site soon than they appear on my computer.  Can this be remedied?

    Do you use Navionics for marine a marine chart plotter?  I noticed that after I installed all their (lousy) software on my MPB, this Navservice app would start up each time I booted.   It took me a while, but I tracked it down to the "LaunchAgents" folder in my system library.   Siince I quit the app each and every time I boot my MBP, I decided I didn't need it so I simply renamed the file from "com.apple.NavService.plist" to "com.apple.NavService.plist.old" and rebooted my MBP.  Voila, no more NavService app running in the background. 
    As far as the purpose of this thing, the plist entry is launching the following app:
    /Applications/Navionics World/NavService.app/Contents/MacOS/NavService
    Take a look and see if you have the same thing. 
    The Navionics software for the Mac is obviously written by someone that doesnt' understand how Macs really work, and they scattered junk all over the place with their install routines.  In fact, if you update the software it will place redundant copies in redundant folders, etc. making it impossible to know which versions are the latest, etc.

  • Privilege for flashback query

    I am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi.
    Documentation says"
    ◦For Flashback Query and Flashback Version Query, grant _FLASHBACK_ and SELECT privileges on specific objects to be accessed during queries or grant the FLASHBACK ANY TABLE privilege to allow queries on all tables. "
    However, I do not see flashback privilege, but I am still able to use flashback query if the table is in same schema.
    All the following select yeields - no rows found.
    select * from user_tab_privs where privilege like '%FLASHBACK%'
    select * from USER_SYS_PRIVS where privilege like '%FLASHBACK%'
    select * from role_tab_privs where privilege like '%FLASHBACK%'
    select * from role_sys_privs where privilege like '%FLASHBACK%'
    What privilege do we need to use flashback query? +Why I am able to use flashback query ( select * from <tablename> as of SCN ...) without the privilege?
    +Note: Flashback_on in V$database table is NO
    Edited by: spur230 on Mar 11, 2011 1:39 PM

    Ganesh Srivatsav wrote:
    Do your research using this
    select * from dict where table_name like '%PRIV%'G.Went through all of them but did not find how schema owner has flashback privilege.

  • Flashback query to view table transactions

    I am on 11g DB and have a requirement to view a set of tables transactional events that occurred every 5-10 minutes. The events for each table must be viewed in the order they occurred. From there a may need to write that information to another table. I was looking to use the flashback quey feature (as I see it is enabled on my DB) to do this. What is the best way to do this with flashback query and are there any performance considerations to consider querying the flashback tables on a regular interval?
    Thanks
    Edited by: bobmagan on Feb 6, 2013 4:43 AM

    Hi,
    refer ,
    http://www.oracle-developer.net/display.php?id=320
    Simply , you can use below query to get records as of desired TS from any table of the database, However oldest timestamp that you can query depends on your UNDO retention
    SELECT count(1) FROM <table_name> AS OF TIMESTAMP to_timestamp('13-MAY-11 19:00:00','DD-MON-YY HH24:MI:SS');Thanks,
    Ajay More
    http://www.moreajays.com

  • Why  am I longer able to view video tutorials

    I have PSE9. When I first got the software I was able to view video tutorials. It seems that since PSE10 came out I am not longer able to view them. Once the tutorial loads in, the screen for viewing remains black. What is the solution to be able to view again these video tutorials?

    Nothing has changed since I purchased PSE9. My browser is Firefox.The only 
    thing that I can think of is that PSE10 came out and now I can no longer
    view  the tutorial videos I used to be able to watch.
    I am worried that if I try to uninstall PSE9 that I will not be able to 
    reinstall it. I have the disk for the program but I worry about the 
    re-registration. I bought this on Amazon just prior to the release of  PSE10. It was
    selling at a very discounted price, that is why I bought it.  Everything
    worked fine till a few weeks ago.
    In a message dated 5/21/2012 4:25:46 P.M. Eastern Daylight Time, 
    [email protected] writes:
    Re:  Why am I longer able to view video tutorials
    created by photodrawken (http://forums.adobe.com/people/photodrawken)  in
    Photoshop Elements - View the full  discussion
    (http://forums.adobe.com/message/4426986#4426986)

  • Why am suddenly unable to view YouTube Videos on Firefox. I am still able to view on Internet Explorer

    I am not able to view any YouTube videos on YouTube or Facebook whilst using Firefox. My Flash Player/Plugin/Shockwave Player & Javascript are all the most recent and all show as up to date and working. On selecting a video to view I now have a blank screen which I have right clicked on & notice there is an Adhoc Plus - Block Image message and wonder if this should be there as this is not the case when viewing through Internet Explorer (which still allows me to view all videos & shows that I have Flash Player installed when I right click on the same screen). I have uninstalled Firefox and reinstalled to see if this would solve the problem but this has made no difference. I have also noticed on my Firewall that Javascript is not showing as an Exception and changed this to find that this has made no difference either. I am now at a complete loss - can anyone help me please as I would like to keep using Firefox. Many thanks

    There are a number of active threads concerning the latest Flash player plugin (11.3) and the latest Firefox (13). Not all users are experiencing the same issues, but things to check include the following:
    - Conflict with Realplayer Browser Record plugin (to disable this, open Add-ons from the orange Firefox button or the classic Tools menu and look under the Extensions and Plugins categories)
    - Conflict with Flash 11.3 Protected Mode (see [http://forums.adobe.com/thread/1018071?tstart=0 Adobe Forums: How do I disable Flash Player's protected mode for Firefox?])
    Scanning down the front of the forums probably will yield additional suggestions: https://support.mozilla.org/en-US/questions
    Please post back with your results.

  • Not able to view the EUL Workbooks

    Hi,
    I need help in understanding how to view the Workbooks associated with the DBI EUL.
    We are currently on DBI 7.2 on 11.5.10 and have imported the DBI EUL into our existing Discoverer EUL.
    We are able to see the associated Business Areas, but none of the corresponding workbooks.
    Could anyone please suggest if they are any special steps that needs to be followed to view the Workbooks?
    Any help on this is greatly appreciated.
    Thanks.

    Hi Michael,
    Thanks for your reply.
    I am trying to connect into Discoverer Desktop as the EUL OWNER. While trying to connect to the Disco Desktop as the EUL OWNER i get an error that the user(the EUL Owner) does not have access to the End User Layer tables.
    I queried the EUL5_DOCUMENTS table while logged in as the EUL owner, and there are some 193 workbooks available.
    While connecting to the Disco viewer and Plus, i find some workbooks present in the "Financial Intelligence" and "Operational Intelligence" responsibilties. But i am trying to find the workbooks under the DBI reponsibilities.
    While connecting through Apps login, to a DBI responsibility, we are able to see all the associated workbooks in the dashboards.
    Do you have any idea why we are able to see them thro apps and not thro the viewer/plus for the DBI responsibilties?
    Thanks for your time.
    Priya

  • Using Oracle Flashback Query

    So, this is a very powerfull tool, but useless if you have a 3-tire application and using a persistent connection feature.
    So in most cases you'll have only one Oracle user used to connect. It would be great if the flashback_transaction_query view can be extended with a CLIENT_INFO or CLIENT_IDENTIFIER fields from the session. Hope, this is not too hard to code... This information is VERY usefull in case you have invistigation of who, why and what for had changed some information.

    But want to check if the same concepts works incase of 'TRUNCATE' commandWhy not to check then ?
    SQL> select * from t;
           TID I
             1 A
             1 B
             1 D
             2 A
             2 C
             2 C
             2 B
             3 A
             3 C
             4 A
             4 B
             4 C
             5 A
             6 A
             7 A
    15 rows selected.
    SQL> select DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER from dual;
    GET_SYSTEM_CHANGE_NUMBER
                     5228349
    SQL> truncate table t;
    Table truncated.
    SQL> select * from t as of scn 5228349;
    select * from t as of scn 5228349
    ERROR at line 1:
    ORA-01466: unable to read data - table definition has changedMoreover, the answer is described in the documentation:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#sthref2174
    Flashback Query does not work through DDL operations that modify columns, or drop or truncate tables
    Rgds.

  • Data view in Query

    Hi,
    My Data flow has 4 dso's and 1 cube. There are some common fields in 4 dso's. It was a 3.5 flow and I have migrated to BI7.0. SOme of the mapping were proposed by itself but some are not.
    Now my question is How the data would be viewed at query level.
    Would appreciate if anybody can make me understand.
    Thanks

    On the cube.
    I am not able to understand how it will fetch the records. Let us assume Sales Documnet no. is in all four tables and our requirement is that we have to pick delivery information from one table and sales document no. from another table. How the system will link the record.
    Thanks

  • Not able to view data and song folders/files in my ipod

    Hi All,
    I have a 30 GB Video iPod which I have been using since the past 6 odd months. Recently, my iPod was infected with a virus. I managed to clean up the virus but since then I am not able to view the data and song files or folders stored in the iPod. I can only view a hidden folder with the name 'astry' and when I double click on it nothing is visible. I tried some freewares available for data recovery but they just scan the iPod and tell that so many number of files are available. But for retrieving them I will have to buy the software.
    Has anyone faced similar project? Does anyone knows any solution to this problem?
    Thanks,
    Sameer

    Hi Aneesh,
    First be more clear about Aria Application. As Aria, is been related to an hrms part of an organization carrying the people infomation and it has some separate features too.
    But in your prespective i couldnt able to understand what do you want to do with that packeged application.
    Since you want to customize the aria application according to your organization needs means, First collect all your necessary organization information that is needed(like tables etc.). Then substitute those (i.e) your organization tables in the appropriate places in the form of query.
    Please dont use the same Aria people table, as the Oracle may framed according to their employee information. Nearly Aria application has 200 supporting objects. If you want to use the same objects means whether u r going to creating nearly 200 supporting objects..It is not worth at all.
    Please be more clear in your requirement that, what you are doing, and then raise the question. Be more prepared with your tables along with datas, and let give your reply once you were been prepared with your organization details table.
    As there are more peoples in the forums to help you other than me.
    Brgds,
    Mini
    Mark Answers Promptly

  • CM14 BI Publisher - modifying an existing Data Model, the Graphic View in Query Builder does not display

    I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60,  there are not 60 tables referenced in any CM report.
    Does this Query builder view work at all on any report?
    (bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
    Thanks,
    Paul L

    Kurt, thanks for your replies.
    A couple of notes/clarifications.
    1.     You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE.  I would recommend using Firefox too.
    2.     You are correct about the way to get to the Query Builder to see a graphical view of data tables.  There are basically two issues with this that I mentioned, but will re-iterate:
    a.  If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder.  Query Builder works only to create a NEW query from scratch.
    b.  Query builder is limited to selecting 60 fields max in your query.  If you are creating a large report with many tables, you may find that 60 fields is not enough.  For that you will have to work in the SQL edit screen rather than using the query builder.
    I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports.  You should be able to find the tables and joins documentation in the knowledgebase.

  • Not able to view text while typing beyond the top edge of the keyboard

    I have an iPad mini with updated iOS 8.1.3 ......
    Honestly I was very happy with iOS 7 it was perfect. The iPad was working fast and effortlessly. Just like how any apple product should be.
    Until iOS 8 spoiled the show. There are many problems I'm facing after the update, but I want a solution for my major problem.
    Problem 1: (Major –Blinded by the Keyboard)
    I'm not able to view the body text beyond the edges of the keyboard while I’m typing; may it be in Notes, Pages, Numbers, Keynotes, calendar or any other app, which requires typing. Earlier I could just swipe it up and so it got scrolled to the end of the document. I extensively use notes, Calendar, pages, numbers, and keynote on iPad but sad that I can't see anything, though it is typing beyond the edge of the new keyboard. It's just stuck. Presently I'm copy-pasting, by typing at the beginning of the document cause after it reaches the edge of the keyboard I'm blind can't see. Please fix it soon before people realise this.
    Problem 2: (updating)
    iOS 8.1.2 is slow for iPad mini 1. When the processor is not able to manage this update then why does Apple give the option of updating. iOS 7 was just perfect. I was forced to update it because my app updates wouldn't update. Soon as I click update it opens the app and there you have it 'nothing'.
    Problem 3: (Siri)
    what is the use of Siri when it is slow to react, (in 3G). It just opens up slow.
    Problem 4: (Photos app)
    Photos app response time is very slow on iPad.
    Problem 5: (assertive touch)
    The assertive touch button on screen just goes dud sometimes on iPad.

    For your keyboard problem:  Hold down the home & sleep/wake buttons simultaneously until the Apple Logo appears then let go & let the iPad boot up normally.
    For your other issues, & if you do not wish to update to iOS 8.2, do a general reset:
    Settings->General->Reset->Reset All Settings.  You won't lose any data but will have to log back into your wifi networks.

  • How To change the ADF View Object  query where-clause at RunTime?

    I am trying to create a simple display page which will display user data (username, assoc_dist_id, assoc_agent_id, status , etc). The User data is stored in a database table and i am using an ADF Read Only table based on the View Object to display the data on the JSF page.
    However, i want to display only the users that a particular person accessing the page has the AUTH LEVEL to see. e.g. If the person accessing the page is an 'ApplicationAdministrator' then the page should display all users in the table, If its a 'DistributorAdministrator' then the page should display only users associated with that Distributor (i.e. assoc_dist_id = :p_Dist_id ) and If its an 'AgentAdministrator' , then the page should display only users associated with that Agent ( i.e. assoc_agent_id = :p_Agent_id).
    Currently my af:table component displays all the users in the table because the query for the view object is (select * from users) . However, i want to use the same viewobject and just set the where-clause at runtime with the appropriate parameter to restrict the dataset returned.
    Do anyone knows how to accomplish this ?

    David,
    See the custom method initializeDynamicVariableDefaults() in the SRViewObjectImpl.java class in the FrameworkExtentions project in the SRDemoSampleADFBC sample application. You can find out how to install the demo if you haven't already from the ADF Learning Center at:
    http://www.oracle.com/technology/products/adf/learnadf.html
    This class is a framework extension class for view objects that adds a neat, generic feature to be able to dynamic default the value of named bind variables. You can read more about what framework extension classes are and how to use them in Chapter 25, "Advanced Business Components Techniques" of the ADF Developer's Guide for Forms/4GL Developers, also available at the learning center above.
    It is an example of generic framework functionality that "kicks in" based on the presence of custom metadata properties on a named bind variable. See section 25.3.3 "Implementing Generic Functionality Driven by Custom Properties" in the dev guide for more details. Using this sample code, if you add a bind variable to a view object, and define a custom metadata property named "DynamicDefaultValue" on that bind variable, and set this custom metadata property to the value "CurrentUser", then that bind variable will have its value dynamically defaulted to the name of the authenticated user logged in. If instead you set this custom property to the value "UserRole", then the bind variable will be set to the comma-separated string containing the list of roles that the authenticated user is part of.
    Once you've created a framework extension class for view objects like this, you can have the view objects you create inherit this generic functionality.See section 25.1.4 "How to Base an ADF Component on a Framework Extension Class" in the dev guide for more info on this.
    By adapting a technique like this (or some idea similar that better suits your needs) you can have your view object query contain bind variables whose values automatically take on the defaults based on something in the user-session environment.

Maybe you are looking for

  • Document in xml - Not serializable? Well, I need to cache it.

    Can anyone tell me how can I serialize DOM Document. When we try to put it in cache, cache complains that it is not serializable (I believe ElementImpl is not Serializable). In javadoc it shows serializable form for this Element, but when I look in t

  • Using parameters in graphic builder

    hi i want to know , how can i use parameters in graphic builder ? thanks

  • Why make portal Iview visible or not, contained in a portal page ?

    Hi, Within the framework of a gate(portal) SAP, I have to make visible or no Iview. This Iview is contained in a page. I get back the role (PCD Role) of this page but I do not manage to change the attribute of Iview to make him(it) invisible. Here is

  • Set values in ListBox with Javascript.

    Hello. I have a ListBox that can have multiple values (you can set this in Designer 7.1 by the way). I want to select 1, 2, x, values in this ListBox by script in Javascript. I can read these values like this: var a = xfa.resolveNode ("ListBox1.value

  • Display Settings error

    On my brand new S10e, when I boot up I get a Windows message that the Display Settings are set too low. I check the control panel and find the the settings are right 32bit and 1024x562 (if my memory services me right). I have removed and installed th