Any DBA views storing history of Dropped schemas?

DB Version: 10gR2 and higher
username, created columns in DBA_USERS view display info about the schemaS which currently exist in the DB.
Is there a Dictionary view which stores the history of Dropped schemas?

user872043 wrote:
DB Version: 10gR2 and higher
username, created columns in DBA_USERS view display info about the schemaS which currently exist in the DB.
Is there a Dictionary view which stores the history of Dropped schemas?No

Similar Messages

  • How to view execution history for any date in oracle SQL developer tool ?

    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.

    sb92075 wrote:
    943838 wrote:
    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
    To the OP, there is a forum for SQL Developer
    SQL Developer
    And there's also a sticky on the forum for product enhancement requests
    "Feature Requests, Extensions and General Collateral "
    Cheers,

  • How to restore views and procedures after drop user command?

    How to restore views and procedures after drop user command?
    We have 817 EE on NT and one developer created a lot of procedures, functions and vews. DB was not backuped and archived and export has not been done - our fault and we understand it. Sorry for this.
    Ok, now the story: another developer dropped this db user and we lost everything: procedures, functions and vews. The new user with trhe same name was created and new schema was imported in this user, but all old objects are lost. We don't have export and backup and archive log files.
    Question: may we can restore this lost stuff from some other sources. We are looking for lost codes, not data. May be we can use redo logs or shared pool or any other things. Any idea will be appreciated.
    Thanks.
    Victor
    [email protected]

    The switch has occurred after user was dropped, the data has been overwritten and there is be no way to use redo log files.
    I would like to explore another opportunity. Is possible to use Shared Pool or any Data Dictionary internal information to restore texts of the lost SQL and PL/SQL scripts executed in this DB before user was dropped? Not too many scripts are executed in this DB and the lost ones may still be in stack. I remember that Shared Pool (cash) should keep last executed scripts in order to improve performance. They probably are kept in some special format. Can we restore these scripts? Of course they also might be pushed out by Import that had been done after user was dropped.
    Thanks for your help,
    Victor

  • Privilege to allow a user to create a view in another user's schema

    Hello,
    I need to allow a user to create a view in another user's schema.
    Say, to connect as USER_A and run statement: 'create view USER_B_SCHEMA.myview as select...'
    Is there any way to accomplish that without granting USER_A privilege to CREATE ANY VIEW? I want to keep USER_A at the lowest profile possible.
    Thanks!

    You have the option to create an stored procedure, here a test case (no optimized, no bug free):
    SYS@orcl > create user sp_owner identified by sp_owner;
    SYS@orcl > grant create any view to sp_owner;
    SYS@orcl> create procedure sp_owner.create_view (
      2  view_name varchar2, view_sql varchar2 ) is
      3  begin
      4    execute immediate 'create view '||view_name||' as '||view_sql;
      5  end;
      6  /
    Procedure created.
    SYS@orcl > create user test identified by test;
    SYS@orcl > grant create session to test;
    SYS@orcl > grant execute on sp_owner.create_view to test;
    TEST@orcl> execute sp_owner.create_view('scott.emp_vw','select * from scott.emp')
    PL/SQL procedure successfully completed.HTH
    Enrique
    PS. If your problem was solved, consider marking the question as answered.

  • Disco 4i Error 'This user requires Create Any Materialized View Sys Priv'

    Hi,
    Firstly I will say we are late with moving to Disco 10g, fully understood and constantly remind people of need to upgrade.
    Oracle Apps 11i instance, we have upgraded the database 10g.
    In Disco 4i Admin, Import folder from Database, we receive Error Message:
    *'This user requires Create Any Materialized View System Priviledge'*
    Have spoken to number of our DBA's but been unable to resolve this. I have read loads of stuff about similar issues, but no direct hits really help me.
    I am guessing we need to logon as SYSTEM db user and execute
    h5. SQL> grant create materialized view to <username>;
    h5. SQL> grant alter any materialized view to <username>;
    Please can anyone advise, I am sure it's going to be a DB/Schema owner, as the username; i.e. APPS or EUL_US?
    I cannot see it being the fnd_user for the Disco EUL owner, e.g. SYSADMIN or PatStock.
    Thanks
    Mike

    Hi,
    If you are doing the import as SYSADMIN then you are connected as APPS so this is the database user that needs additional privilege.
    However, the APPS user only needs create materialized view privileges if there are manually created summary folders in the EUL, i.e. summary folders based on materialized views. If you are not using these then the privilege is not required.
    The EUL_US user just needs to give Discoverer Administrator privileges to the SYS_ADMIN user. Nothing else should be needed.
    Rod West

  • Error: Cannot drop schema because it is being referenced by object

    My database has a schema with the same name as a user (let's call it 'username'). This schema was not explicitly created. I want to drop the User 'username' but I have to drop the schema 'username' first; However, when I tried to do that I got the message...
    "Cannot drop schema 'username' because it is being referenced by object 'vw_Inventory'
    There is a view named 'vw_Inventory' but I don't see where it's referencing this schema, or any schema for that matter. Why would I get this error and how do I resolve it so I can drop the Schema and User?
    Darrell H Burns

    If a Schema has some objects in it, then you cannot drop that Schema until you remove all the objects out of it. You can change the schema owner
    to another database principal and drop the user like,
    Alter Authorization ON Schema::username TO DBO; Drop User username;
    other option would be
    Transfer the username schema objects to a different schema and drop username schema and user like.
    Alter Schema DBO Transfer Username.[OBEJECTNAME] ;
    --need to repeat this until you transfer all objects under this schema
    Drop Schema username;
    Drop User username;
    Regards,
    Praveen D'sa
    MCITP - Database Administrator - 2008
    sqlerrors

  • How do I view package bodies in another schema ?

    For purposes of SOX and security/audit control, we log in under our network id's in our production environment. We have sourcecode compiled into Oracle seeded schemas ( APPS ) so that scheduled jobs are able to run with submitted from the Oracle Applications environment. We don't compile code into our personal network account areas.
    I know how to GRANT EXECUTE privs so that we can execute a package in another schema, but what I want to do is to be able to view the sourcecode in another schema. Compile into APPS but be able to see the package body from my network id schema account.
    I can't seem to find what the correct permission is anywhere. Granted I can look at DBA_SOURCE to get to it, but I want to use a tool like SQL Developer or TOAD to look at the code in a more presentable and easier to debug manner.
    Any help ?

    I did some more searching on the forum... seems its already a request... TOAD gives access to DBA_Views to resolve the issue... SQL Developer has not integrated that functionality yet, but forum entries seem to indicate that it is on the horizon.
    Thanks for responding though.
    ~Barry

  • I cannot figure out how to view the history of pages so I can easily go back to a page I may have been in 10 clicks ago.

    In the latest version, I cannot figure out how to view the history of pages so I can easily go back to a page I may have been in 10 clicks ago. I don't want to have to hit the back button 10 times, I want to be able to view a list of the past clicks and pick where I want to go back to. How do I do that now?

    Click-hold the unified Back / Forward button, or right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • How to view the History of a Crystal Reports iView in EP6?

    How to view the History of a Crystal Reports iView in EP6?
    Our Crystal reports are viewed via Crystal Enterprise and are both BW and non-BW Crystal reports.
    I have looked at the three supplied iViews from Business Objects (alert, folder and thumbnail) but I have only been able to access the last instance or run on demand a CR.
    Our users would prefer to see a listing of the past runs of the report and choose which report to view.  What parameters need set in the EP6 iView to see the history of a report?

    Hi Heather,
    it is correct that there is no sample iView that shows the History of Crystal Reports that are stored in Crystal Enterprise but there a sample codes on our web site and there are sample codes as part of the SDK documentation that show how to call the history and you should be able to take the code and create your own Java or ASP iView based on that.
    the link to our developer library :
    http://www.businessobjects.com/products/dev_zone/default.asp?intcmp=products12
    hope this helps
    Ingo

  • View Compensation History

    In Manager Self Service, the Manager cannot see her employees in 2 departments on the View Compensation History page (she can see employees in other departments on this page).  For the 2 departments which she cannot see her employees via the View Compensation History page, she can successfully see these same employees when accessing other pages such as View Employee Personal Information.  The Job Data page appears to have the employee mapped correctly to this Manager via the Reports To field.  Any ideas on where in the system to check where the culprit may be?

    Let me know if this Is this the correct location and place to check/compare:
    Setup HRMS > Common Definitions > Direct Reports for Managers > Configure Direct Reports UI
    Component Name:  HR_SS_MG_COMP_HIST
    Description View Compensation History
    Transaction Name:  View Compensation History
    What should the access type show and what needs to be checked?
    Also want to clarify that she can see the View Compensation for some of her employees but not 2, so I would think it is an individual setting versus a global setting somewhere.

  • System refresh - drop schema

    I'v an existing QA system which I wish to refresh from PRD. The method will be using R3load export/import. My question is must I drop the database schema manually first before I start the import in QA, does sapinst prompt for us to delete the db schema or it does this overwriting automatically.
    My dba is suggesting that i drop the db using Oracle database assistance (dbca) manually before the import.
    I'm on SAP R/3 4.7, SAPinst 6.40.

    On large systems (> 1tb) the creation of datafiles can take quite some time. To reduce the downtime during a migration i was using this procedure:
    Do a test migration first:
    - run sapinst, select the import (i was using "start migmon manually")
    - at the start migmon step, stop sapinst, and backup the /tmp/sapinst_instdir
    - finish the test migration
    Then the real migration:
    - drop the SAP schema (can also take a lot of time on a ERP system)
    - recreated the SAP schema user
    - put the backup of sapinst_instdir back in place
    - done the export/import with migmon
    - restart sapinst and finish the migration
    So basically, this is possible but i can also confirm Markus's statement. If there already is a SAP schema sapinst asks if you want to drop it, i think you could even create a new one in that case.
    Cheers Michael
    Edited by: mho on Jan 26, 2011 12:50 PM
    Ah, just had a review in the documentation, i recreated the user myself (but obviously this is only a tribute the my special sapinst-procedure):
    create user SAPSR3 identified by sap default tablespace PSAPSR3USR temporary tablespace psaptemp;
    grant sapconn, unlimited tablespace to SAPSR3;

  • View reconciliation history error

    Can anybody hint what this error mean, when I selected AD resource and checking reconciliation history.
    An unrecoverable error has occurred processing the request. Contact your system administrator.
    Syslog ID = LG-1111-111111.
    Thanks for your help.

    Application server restart did not do any good.
    lh syslog gave me this output...a few last lines below
    ...assloader
    2008-02-26 10:34:55.856 SV-0226-163455 E morx67pp SV ERROR Error starting thre
    ad: Not enough storage is available to process this command.
    2008-02-26 10:34:43.647 LG-0226-163443 F morx67pp LG ERROR could not create cl
    assloader
    2008-02-26 09:30:32.336 LG-0226-153032 F morx67pp LG ERROR could not create cl
    assloader
    but, when I go ../debug/Show_Memory.jsp, I see good enough space alloted.
    However I also observed that sometime when I check for view reconciliation history I also ran into..
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.

  • ERROR - 1270031 - Failed to select any new views or all views that you requ

    Hi,
    when I try to run a Maxl script against an ASO application to aggeragate the cube. I end up with an error msg as shown below.
    ERROR - 1270031 - Failed to select any new views or all views that you requested to build exist already.
    Please guide me on what caused this issue.
    Thanks
    Sathish

    If you re-run this statement and there are already aggregated views then the chances are it will not find anymore views that would keep it within the 1.5 limit. So you can do as Glenn suggested and drop the aggregations and re-run your script, or you can up the 1.5 to 3.0 or something**.
    ** Obviously this means that more disk space will be taken up by your ASO cube.

  • How can I view deleted history?

    Hello! I would like to view my history from February 2014, but I am not able to view any history beyond March 2014. I am pretty sure that I deleted all of my history since February, but if anyone thinks that there might be another reason that I am not able to view this history then please let me know.
    Please let me know of all of the ways that you can think of for viewing deleted history. Also, please let me know if it's possible that something besides deletion happened to this history and that I should be looking into other means to view my activity in February 2014.

    You can make a backup copy of the current places.sqlite file in the Firefox profile folder and see if you can restore an older copy of the places.sqlite from before you deleted that older history.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Director: Show Folder (Linux: Open Director; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Restore a previous version of a file:
    *Right-click: Properties > Previous Versions
    *http://windows.microsoft.com/en-US/windows7/Previous-versions-of-files-frequently-asked-questions

  • RON-View version history: CDR-17057: Failed in initialize JVM

    We're struggling to get the latest download of Designer 6i / SCM
    setup and running.
    We're using SCM with versioning turned on to support JDev 9i.
    Using RON to attempt to view version history [events or details]
    gets this error.
    TIA curt
    Message
    CDR-17057: Failed in initialize JVM
    Cause
    Either the Java system cannot be found
    or the correct Java classes cannot be found.
    Action
    Check the CLASSPATH and JVM HOME
    settings on your registry (or environment) settings. Ensure
    that the correct version of Java and its core classes jar
    file are being accessed.

    I occasionally get the same message. I alternately get another message (see below)
    I installed the Designer Release 4.1.1 and get these problems such that any Java based tools in Designer/Repository throw these errors. An associate installed Repository 4.1 and he is able to run.
    I compared his registry settings against mine and found what I believe are the JVM HOME (actually it was JRE_HOME) and JVM_CLASSPATH variables that the software complained about, but could fing nothing wrong.
    Ken
    CDR-17060: Failed to load class oracle/repos/rs/rsj/CRSjInProcDispatch
    Cause: The class could not be found
    Action: Check CLASSPATH registry (or environment) setting
    and ensure the correct repository classes jar file is present.
    Class CRSjInProcDispatch is located in jr_jol.jar which is included in CLASSPATH specified in registry key HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\repadm61\DEFAULT_JVM_PARAMS_THIN_JDBC\JVM_CLASSPATH
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\repadm61\JRE_HOME = "%ORACLEHOME%\REPADM61\jre1_3"

Maybe you are looking for

  • Actual cost component values

    Hi We are facing an issue that actual cost component values in our system are not calculating correctly. We consider that there might be difference in our understanding regarding the calculation of actual cost component values. Therefore I want to un

  • How to move my license of adobe acrobat 8 pro from MAC to another MAC?

    How do i find my adobe acrobat CD key number if i dont have the installer CD? , i am trying to move my license of adobe acrobat 8 pro from MAC to another MAC, please advise how can i do that?

  • First Play "Not Permitted" on Apple DVD player

    I have some duplicated DVD-Rs of a project, and the client ha reported a disutrbing error. I've been told that on several different Macs running OS 10.2 - 10.4, not only does the disc not auto launch DVD player and not auto-play the first play menu,

  • How to transfer a saved flash game's progress onto another computer using a flashdrive?

    I downloaded a .swf file of a flash a game that I put into an html file and found that it saved data into the sharedobjects folder inside of the macromedia folder but I'm just wondering if theres a way to redirect where the flash game goes to load pl

  • Standard format for MX?

    Hi, I have the following function: public void testDnsLookup() throws Exception {          Hashtable env = new Hashtable();          env.put("java.naming.factory.initial",                  "com.sun.jndi.dns.DnsContextFactory");          DirContext ic