Where do I find DBMS_STATS procedures?

I am just beginning the preinstall section for the Oracle 9.2.0.6 patch set and they indicate that I should run the following procedures (scripts?)":
SQL> DBMS_STATS.DELETE_SCHEMA_STATS('SYS');
SQL> DBMS_STATS.GATHER_SCHEMA_STATS('SYS');
This is to clear out stats before the upgrade so that I won't be waiting while the install pointlessly goes through the SYS table. But when I tried to execute the first command above, all I got was this:
SQL> DBMS_STATS.DELETE_SCHEMA_STATS('SYS');
SP2-0734: unknown command beginning "DBMS_STATS..." - rest of line ignored.
Are DBMS_STATS procedures distinct from the base Oracle DB install? Do I need to grab another package to get them?

Either execute each procedure one by one
exec DBMS_STATS.DELETE_SCHEMA_STATS('SYS');
exec DBMS_STATS.GATHER_SCHEMA_STATS('SYS');or put them in an anonymous block
begin
   DBMS_STATS.DELETE_SCHEMA_STATS('SYS');
   DBMS_STATS.GATHER_SCHEMA_STATS('SYS');
end;

Similar Messages

  • Where can I find Correct Procedure to Restore My  Mac G5 to original OS X?

    When I bought my Mac G5 Tower in 2004, it came with a Power Mac G5 Software Install and restore CD and a 3 CD set of Panther Upgrade and install discs.Last summer I installed Mac OS X Leopard 10.5. I have since installed download upgrades to OS X 10.5.8.
    I was having problems with alignment when I printed, so I used the latest version of Norton Systemworks. The next thing I knew was my computer was stuck in an endless several minute loop, then it would make a lot of noise, restart and start all over again. I had to get a Mac Computer Tech to break the endless loop.
    Now I'm having problems loading software, so I believe my system software is all screwed up. I feel I need to remove both Panther and Leopard and restore my computer to the original condition. Then Reinstall both Panther and Leopard.
    Where can I find the Correct Procedure to Restore My Mac G5 to original OS X software?
    computeWhere can I find the correct procedure to remove both Leopard and

    Click here and find the article for the OS on those disks.
    (53158)

  • How can I find the procedures where I use a table?

    How can I find the procedures where I use a table?
    I need to look for it in all the users.

    select name,owner from dba_dependencies where referenced_name='table_name'
    and referenced_owner = 'schema'
    and type = 'PROCEDURE'
    Aravind

  • Could not find stored procedure

    Dear gurus,
    I am working, for the first time, on a SAP BPC ( MS ) demo.
    I have created a new input schedule based on a dynamic template, with some modifications.
    However when I try to submit data, it gives an error:
    "Could not find stored procedure 'dbo.up_ConcurrentLockDEL_HR'.;"
    DEL_HR is my application and is based on a existing one "FINANCE", but I have added new dimensions and deleted another ones.
    I can not understand this message because I don't know where I define stored procedures. I also commented all script logics that this application had.
    Could you help me on this?
    Best regards,
    Vitor Ramalho

    Hi Vitor,
    You need to login to the server, where SQL has been installed. You can login to that system using remote desktop connection.
    Once you login to the SQL server, under the databases, you will find your application set. Expand it and navigate to Programmability and then to Stored Procedures. Here, you will get all the stored procedures.
    The above statements will guide you to find the stored procedures. However, the problem, we are looking at is little different. Usually, with every application, a stored procedure with the name, "dbo.up_ConcurrentLockappname" gets created automatically. However, I am guessing that this stored procedure is not available for your application. Search for the stored procedure just to make sure that its available or not. If its not available, search for dbo.up_ConcurrentLockFinance. I am asking to search for the Finance one since your application is copy of the Finance application. So, just to make sure that the source application is fine. If this stored procedure is present but the stored procedure for your application is not present, then I would suggest you to create the application once again. Process it properly.
    Hope this helps.

  • Blurb Book in Lightroom 5 on my Mac disappeared after 3 days of work. Where can I find a backed up copy via Time Machine or anywhere else?

    Blurb Book in Lightroom 5 on my Mac disappeared after 3 days of work. Where can I find a backed up copy via Time Machine or anywhere else?

     
    Welcome to the WD Community.
    1) I assume I can  just hook the unit up via USB to my Mac and use iPartiion to reformat the drives, assuming each of the 4T drives will be seen by iPartition as a separate drive. That much seems straighforward.
    Yes, and in case you ipartition dont see the unit properly, you can use the disk utilities on your Mac and you will be able to reformat the unit to make it compatible with your system.
    2) Is my next step to reinstall the WD software and how do I do that? I've downloaded the Drive Utilities and Securities install apps - I assume I just run these with the drive still connected and that's all I need to do?
    Yes, just run the applications.
    3) What about the firmware update for Mac - when should I run that??
    Normally, firmware updates are released to fix any issues that you might encounter on the drive. the latest one was released on 9/24/2014 and it fixed an issue with the drive dropping off of the list after system wakes up from standby mode. 
    5) And what about the "My Book Live Duo Setup" app for Mac - is that for a completely different model? What's the difference between "My Book Live Duo" and "My Book Duo"? It's these little things that I find so confusing. 
    Those are different units. The MBL Duo is a NAS (Network attached system) and the My Book Duo is a DAS (Direct attached system)
    6) Lastly, when I have all the software installed, is that when I follow the procedure described in the Knowledge Base article ID 5724, "How to install a My Book Live or My Book Live Duo on Windows (8, 7, Vista, or XP) or Mac OSX for the first time"? Or is that procedure only for "My Book Live Duo" but not for "My Book Duo"?? 
    That procedure is for the network units, not for your drive.
     

  • Where can i find the XI benefit documents

    Dear SIr,
    Where can i find the XI  documents with related to the Business benefit , ROI
    Thank you and best regards,
    Vimol

    Hi,
    related to business Benefit
    find here with you the documents
    SAP site
    http://www.sap.com/platform/netweaver/components/xi/index.epx
    SAP Service Market place
    http://www.sap.com/platform/netweaver/components/xi/index.epx
    SAP XI - Where to Find Information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/sap%20xi%20-%20where%20to%20find%20information.pdf
    One of the most powerful feature of XI, Business Process Management:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f778
    35cc/frameset.htm
    SAP Exchange Infrastructure 2.0 in High Availability Environments
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10c7d15f-d411-2a10-c8ae-c1596eeebaed
    SAP NetWeaver Process Integration: Best Practices for Roles and Procedures in Integration Projects
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b6c2fe-d411-2a10-1c87-87046c0acd45
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 31, 2008 12:26 PM

  • Where can i find the XI  documents ??

    Dear SIr,
    Where can i find the XI  documents with related to the Business benefit , ROI
    Thank you and best regards,
    Vimol

    Hi,
    find here with you the documents
    Intoduction to XI project
    /people/community.user/blog/2007/01/18/steps-for-a-sound-footing-in-your-xi-project
    Learning Map
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/learning+map&
    Gratitude for Rocking response on the SAP XI Solid Starter Material…!
    /people/sravya.talanki2/blog/2007/01/05/gratitude-for-rocking-response-on-the-sap-xi-solid-starter-material133
    the below link will provide all the related links for step by step scenarios in XI
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    SAP XI - Where to Find Information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/sap%20xi%20-%20where%20to%20find%20information.pdf
    SAP‘s Exchange Infrastructure
    http://www.omg.org/interop/presentations/2002/sinisa_zimek.pdf
    SAP Exchange Infrastructure 3.0 Integrating Heterogeneous Systems with Ease
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1ebea490-0201-0010-faad-a32dd753d009
    SAP NetWeaver Visual Composer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sdn-meets-labs-walldorf-05/sap%20netweaver%20visual%20composer%20in%202005.pdf
    SAP Exchange Infrastructure for Developers ( This is an excellent website for free pdf book for XI)
    http://www.sap-press.de/download/dateien/1191/sappress_exchange_infrastructure.pdf
    Exchange Infrastructure : XI Transaction Codes
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/xiTransactionCodes&
    A Beginner's Guide to SAP XI Settings part I
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
    A Beginner's Guide to SAP XI Settings part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    SAP XI AND SLD
    http://www.sappro.com/downloads/nov06/XIandSLD.pdf
    Exchange Infrastructure Learning Map
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/learning+map&
    SAP Exchange Infrastructure eLearning Catalog(U wil get all downloads regarding XI starting from basics to end)
    https://www.sdn.sap.com/irj/sdn/xi-elearning
    All Articles on SAP NetWeaver Exchange Infrastructure(This website gives al articles on XI)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/f04b44aa-fe06-2a10-859e-82ad4965781d?startindex=101 [original link is broken]
    Mastering SAP Netweaver XI - Programming( PDF Book for XI)
    http://www.sap-hefte.de/download/dateien/1241/140_leseprobe.pdf
    SAP XI Learning Guide
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1008087,00.html
    SAP Exchange Infrastructure 2.0
    http://www.sun.com/third-party/global/sap/collateral/SunSAPWP_final.pdf
    http://help.sap.com/bp_bpmv130/Documentation/Planning/TechnicalInfrasture.pdf
    https://www.sdn.sap.com/irj/sdn/xi
    http://tsr.strain.at/space/SAP+XI
    https://www.sdn.sap.com/irj/sdn/xi
    Trouble logging to Integration Builder ( IR / ID ) ?
    /people/shabarish.vijayakumar/blog/2006/02/13/unable-to-open-iresrid-xipipi-71-updated-for-pi-71-support
    One of the most powerful feature of XI, Business Process Management:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f778
    35cc/frameset.htm
    SAP Exchange Infrastructure 2.0 in High Availability Environments
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10c7d15f-d411-2a10-c8ae-c1596eeebaed
    SAP NetWeaver Process Integration: Best Practices for Roles and Procedures in Integration Projects
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b6c2fe-d411-2a10-1c87-87046c0acd45
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 31, 2008 12:23 PM

  • Where can I find a manual that shows onboard backup jumpers for BIOS for a HP pavilion dv7-3135eo ?

    Hi,
    I have a HP pavilion dv7-3135eo with a corrupt BIOS. I get the 2 flashing LEDs on the CAPS LOCK.  This leaves me unable to do anything with the machine as it won't start at all. The solution to this problem (LED Codes) is to "Restore BIOS from onboard backup (jumpers)".  Is there any place where I can get a service manual or other manual that shows me where this jumper is? 
    Thanks in advance for any advice!
     - Tom

    BIOS restore function is usually initiated by holding winkey+b on powerup.
    It *may* require battery removal, ac power removal, holding start button to bleed onboard capacitive power.
    Then winkey+b before ac plug power and power button until lit, then release other keys.
    System should blink, may beep. May or may not display a bios recovery screen.
    If it shows some activity, but does not reboot, give it five minutes before trying again.
    It could be verifying in the background.
    Some recovery procedures beyond this are here:
    http://forum.notebookreview.com/hp-compaq/304332-c700-cq40-cq45-dv4-dv5-dv6-hdx18t-insyde-bios-recov...
    If it's not insyde but is pheonix bios, check around the board or google for it - enough bios modders out there that you should find a procedure that works.

  • Where can I find the Theme Editor for SP14?

    Where can I find the Theme Editor for SP14? (My WebDynpro application is a standalone app, and does not run in a portal).
    Thanks,
    Walter

    Hi,
    Go thorugh the follwing Web Dynpro Java
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
    To know how to use it and for the steps to be followed please follow the tutorial here
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to edit web dynpro themes.pdf
    the last url gives you a step by step procedure with wizards..
    I hope your problem is solved..
    don't forget to reward
    RK

  • Where do I find "finder.plist"

    where do I find "finder.plist"
    I have a line in the favorite bar that is not removable.
    Deleting the finder.plist should resolve this issue I understand.
    But how deep I go into my system in the library under preferences there is no finder.plist.

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy – do not type – the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • Where can i find .trn file location when i successfully take the back up of the database?

    Where can i find .trn file location when i successfully take the back up of the database?
    I accidentally deleted some records in my table, then i followed the procedure based up on this blog:
    "http://sqlbak.com/blog/recover-deleted-data-in-sql-server/"
    here it saying to find the .trn file, So here i am unable to find the .trn file where the location file i can found.
    Can some one help to find out of this issue.
    Ramesh S

    Hi,
    Try this select to check backup history:
    Select 
    r1.database_name, 
    r1.name, 
    (case r1.[type] when 'D' then 'Full database backup' when 'I' then 'Differential database' when 'L' then 'Transaction Log Backup' else r1.[type] end) as BackupType, 
    r3.physical_device_name, 
    r1.backup_start_date, 
    r1.backup_finish_date, 
    r1.backup_size, 
    r1.compressed_backup_size, 
    r2.is_compressed,
    r1.server_name, 
    r1.first_lsn, 
    r1.last_lsn 
    from msdb.dbo.backupset r1 
    inner join [msdb].[dbo].[backupmediaset] r2
    on r1.media_set_id = r2.media_set_id
    inner join [msdb].[dbo].[backupmediafamily] r3
    on r1.media_set_id = r3.media_set_id

  • Where can I find my address book after Synchronization to outlook

    Hi Guys, I finished sync according to the following procedures:
    1. Start Button - on your computer there is a large button in the bottom left corner of the screen.  Click it.
    2. Now you'll see an entry that states "All Programs".  Click it.
    3. Look for a folder labled "Palm".  Click it.
    4. Look for an entry labled "PIM Conduit Sync".  Click it.
    5. Choose "Sync with Outlook".  Click it.
    HotSync.
    The question is that I can't find the contact information document after successful sync whe I start my outlook program. Where can I find it?
    Thanks.
    Post relates to: Treo 680 (Unlocked GSM)
    This question was solved.
    View Solution.

    Thanks for providing your solution! 
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Exec XP_CMDSHELL cannot find store procedure problem

    I run EXEC sp_configure 'xp_cmdshell', 1
    Message is"....change from 1 to 1 "
    Then
    EXECXP_CMDSHELL 'Dir N:'
    cannot find store procedure xp_cmdshell
    I check master database.
    No dbo.xp_cmdshell under store procedure.
    How to fix it? I need run command
    EXECXP_CMDSHELL 'Dir N:'
    Thanks

    Hallo Bestrongself,
    - what SQL Server version do you use?
    - since SQL 2005 xp_cmdshell is located in the sys-schema and the procedure itself is located in the resource database of Microsoft SQL Server.
    You can check xp_cmdshell by using the following command:
    SELECT * FROM sys.all_objects WHERE name = 'XP_CMDSHELL'
    I bet you will see it in the master database because you cannot drop system procedures and will return an error if you try to do so:
    USE master;
    GO
    BEGIN TRANSACTION
    DROP PROCEDURE dbo.xp_cmdshell;
    DROP PROCEDURE sys.xp_cmdshell;
    DROP PROCEDURE xp_cmdshell;
    ROLLBACK TRANSACTION
    To execute xp_cmdshell you need to have [CONTROL SERVER] permissions otherwise it won't work. Let's say I have a login which I grant exclusive permissions to execute xp_cmdshell it will fail!
    USE master;
    GO
    -- create the login and the user in master-database
    CREATE LOGIN test WITH PASSWORD = 'glmdpf12345', CHECK_POLICY = OFF, CHECK_EXPIRATION = OFF;
    CREATE USER test FROM LOGIN [Test];
    GO
    -- grant explicit permission to execute the xp_cmdshell
    GRANT EXECUTE ON sys.xp_cmdshell TO test;
    GO
    -- tryp to execute xp_cmdshell as test
    EXECUTE AS login = 'test'
    EXEC xp_cmdshell 'DIR C:';
    REVERT
    -- Housekeeping
    REVOKE EXECUTE ON sys.xp_cmdshell TO test;
    DROP USER 'test';
    DROP LOGIN 'test';
    As you can see from the above statement the login "Test" got exclusive permission to execute xp_cmdshell but the execution will fail with the following error message:
    The xp_cmdshell proxy account information cannot be retrieved or is invalid. Verify that the '##xp_cmdshell_proxy_account##' credential exists and contains valid information.
    The above error message is clear. Test is a "normal" user which has the permission to execute the proc BUT due to missing permissions to retrieve the information about the service account it fails!
    You have to grant SERVER CONTROL to the account.
    So - next step...
    What is your permission on server level?
    You can check your permissions by using the following statement:
    -- what are my permissions on server level
    -- check for CONTROL SERVER!
    SELECT * FROM sys.fn_my_permissions (NULL, 'SERVER') ORDER BY permission_name;
    -- what are my permissions for the object xp_cmdshell
    SELECT * FROM sys.fn_my_permissions('xp_cmdshell', 'OBJECT');
    Can you provide us with the results of the above query?
    BTW: xp_cmdshell is a well documented statement and official command which is fully supported by Microsoft. You can find all information about functionality and security of xp_cmdshell here:
    http://technet.microsoft.com/en-us/library/ms175046.aspx
    MCM - SQL Server 2008
    MCSE - SQL Server 2012
    db Berater GmbH
    SQL Server Blog (german only)

  • Where can I find or open the bar "others" when I connect my iPhone to the iTunes?

    Where can I find or open the bar "others" when I connect my iPhone to the iTunes?

    Re: what is the procedures to free some space on my ipad to download videos?

  • How to find pricing procedure based on condition type

    Hi,
    Please tell me any one " how to find the pricing procedure based on condition type " is there any tables.
    Thanks

    check table - T683S, where you get all prciing procedures for which has same condition type.
    go to se16
    give table - T683S
    in condition type feild, menation your condition type and execute, you get all procedures with condition type.

Maybe you are looking for

  • Underscore randomly replaces forward slash in topic file names and topic titles

    The problem I'm seeing is similar to the discussion at http://forums.adobe.com/message/2564701 which dealt with random insertion of underscores in topic titles. That problem seemed restricted to underscores replacing spaces in Topic File names and wa

  • Set view defaults

    I am having problems setting the default view settings for Acrobat Pro 8. I have read some other posts and the view always defaults to something other than the settings I have chosen. I have: Chosen to not remember view settings of previously opened

  • Can't get my P67A-C43 to boot

    Hi all, I just put my new machine together and tried to boot it and the result was that it was powered for about a second and then it shut off, then powered up again for a second and then shut off... And it did so until I switched off the power manua

  • FileNotFoundException loading JAR resource

    I am trying to load a text file from a JAR using getResource(), and I get a FileNotFoundException: "the filename, directory name, or volume label syntax is incorrect". I have verified the file is in the archive, and the case is correct. JDK 1.3.1_01,

  • How to automatically click add button on Process child form?

    During automatic provisioning of SAP CUA resource defined using access policy, how do I automatically click the "add" button to add the pre-populated role and system? Auto-save is already checked in the process definition of provisioning process. Tha