Compile all patterns

Note that the "DBMS_UTILITY.COMPILE_SCHEMA" procedure compiles only schema given/entry at the same time, see the description of it below.
But is it possible for lazy people compile all patterns? I see no such procedure. Should I really give me all the names of 20 schema, and compile them one by one?

COMPILE_SCHEMA Procedure

This procedure compiles all procedures, functions, packages, and triggers in the specified schema.

Syntax

DBMS_UTILITY.COMPILE_SCHEMA (
   schema          VARCHAR2,
   compile_all     BOOLEAN DEFAULT TRUE,
   reuse_settings  BOOLEAN DEFAULT FALSE);

http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_util.htm#i1002332
(Oracle 10g, Linux OS)


So is this the only solution:
/*
select q'(dbms_utility.compile_schema(schema=>')' || username || q'(');)' from dba_users
*/
BEGIN
  Dbms_Utility.Compile_Schema(SCHEMA => 'PUBLIC'); --copy paste others here
END;
Edited by: CharlesRoos the 15.12.2010 17:59

Maybe you can use UTL_RECOMP instead?

http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/u_recomp.htm#i999835
If you omit the schema name, then:
"The schema in which to recompile invalid objects. If set to NULL, all invalid objects in the database are recompiled. »

Not sure if this is what you want...
More information: http://www.oracle-base.com/articles/misc/RecompilingInvalidSchemaObjects.php

Tags: Database

Similar Questions

  • Oracle Form compile all active SQL rules fails

    Hello

    I finished the steps of Installation of the CCP.
    Now, I'm in the steps of the Installation of the poles.
    RCMP - rules of compilation of SQL, I clicked on "Oracle Form compile all active SQL rules" in the Tools menu bar.
    And I checked the State "process is finished with the error. Here is the error log:

    ---------------------------------------------------------------------------
    RCMP controls custom: Version: UNKNOWN

    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

    Module LAGENLIB: library to generate controls RCMP
    ---------------------------------------------------------------------------

    Current system time is May 22, 2013 17:52:30

    ---------------------------------------------------------------------------

    Variable source CLASSPATH successfully...
    LAGENLIB: Input parameters are
    LAGENLIB: Name of the library: LABRSQL
    LAGENLIB: Connect str: jdbc:oracle:thin:@grc.4iapps.com:1541:GRCTEST
    LAGENLIB: The library will be: /ebiz/applmgr/apps/apps_st/appl/xxlaapps/12.0.0/bin/LABRSQL.pld
    ebiz/applmgr/Apps/apps_st/Appl/xxlaapps/12.0.0/bin/LAGENLIB. PROG: line 64: LAGENLIB: command not found
    LAGENLIB: Library Generation failed
    LAGENLIB: Quit smoking with the error...
    /EBiz/applmgr/apps/apps_st/appl/xxlaapps/12.0.0/bin/LAGENLIB
    Program exited with status 1


    ---------------------------------------------------------------------------
    Options, AutoComplete, the request for enforcement.

    Size of the output file:
    0


    End of query options AutoComplete.

    ---------------------------------------------------------------------------
    Simultaneous request ended
    Current system time is May 22, 2013 17:52:30

    ---------------------------------------------------------------------------

    And I tried the Document link for the solution below. But still am experiencing this problem.
    Compilation of SQL is any mistake when CCP 7.3.1 is installed against database 11g [1078979.1 ID]

    Please suggest me to fix this problem.

    Concerning
    Kumar V

    Thank you very much.

    The problem has been resolved.
    Solution.
    I run the script laconfig.sh once again, then complie all active sql rules, its normally filled.

    Thanks Yasser.

  • Compile all forms of custom top

    Hi people,

    We have customized high XXDEV_TOP with approximately 500 + fmb. Is it possible to compile all forms of custom top?

    Kind regards
    Yagaty

    Hello

    As Hussein says that you need to write a custom script that I wrote below edit according to your needs. Use f60gen to 11i

    find $XXCUSTOM_TOP/forms/US/*.fmb - mmin frmcmp_batch module + 1 - exec = {userid = apps/apps module_type = form batch = yes compile_all = special.

    Concerning

  • script to compile all forms / reports?

    Hello

    How can I compile all forms (.fmb) files inside a folder? Let's say I have a lot .fmb s in the C:\forms folder. This script, I need to compile overall?

    Thank you

    Rogger,

    For 10g, use the following script in the batch file.

    echo Start Forms Compilation.....This may take few minutes......
    for %%i IN (*.fmb) do C:\DevSuiteHome_1\BIN\frmcmp userid=/@ module=%%i batch=yes module_type=form compile_all=yes
    

    Kind regards

    Manu.

  • Not all patterns are presented in the Application in MISP schemas

    Hello

    I try to use MISP (Database Migration Unicode Assistant) to assess potential problems for a conversion NLS_CHARACTER_SET and note that not all schemas are indicated in Application schemas folder in the Navigator Panel. Especially I want to scan.

    In my case, it's showing only 4 patterns when there is almost more than 10 + in the database.

    Everyone got to experience that too? Could not find anything on MISP known issues?

    Thank you

    Eduardo.

    Have you checked if the missing patterns have all columns of type VARCHAR2, CHAR, CLOB, or LONG?

    Thank you

    Sergiusz

  • Is it possible to compile all purchases in a box, so I have separate purchases on my business card?

    I am buying several images cost 4.99 per image. I try to save it as a library (thinking I could buy a library at the same time?), but it does not allow me to add it until I purchase the single photo.

    Someone had this problem?

    -Kaleb

    Hi, Kaleb

    I'm afraid that the individual images can be purchased individually.

    Kind regards

    Bev

  • question about the stages of compilation post patch adadmin

    From the readme file.
    Apply this pack mini...
    Oracle Financials Family Pack G contains a unified patch driver and can contain additional driver files
    be applied with AutoPatch. Please apply the driver file on all nodes of the application-tier server.
    u3653484.drv
    You must perform these steps after execution of build using Administration AD (adadmin) driver:

    1 generate files of messages. (* 1st choice 1.) Generate Applications files menu)?

    2 compile applications or patterns.
    -How to do this? y at - it an option only for applications or simply do all?

    3 compile flexfield given in the tables of AOL.
    (Please note that the Flexfields automatically compile data when using them for the first time, for the execution of this task is not necessary.)

    4 compile the menu information.

    I'm not 100% sure what options I am supposed to provide the 4 steps above. Looks like step 3 is optional based on another post.
    If someone could just give me the right choice? It comes to 11.5.10.

    Hello

    1 generate files of messages. (* 1st choice 1.) Generate Applications files menu)?

    Of adadmin:

    Generate Applications files menu
    Generate files of messages

    2 compile applications or patterns.
    -How to do this? y at - it an option only for applications or simply do all?

    Of adadmin:

    Menu to compile/Reload Applications database entities
    Compile the drawing APPS

    It compiles all invalid objects, so there is no option to select the schema.

    3 compile flexfield given in the tables of AOL.
    (Please note that the Flexfields automatically compile data when using them for the first time, for the execution of this task is not necessary.)

    Of adadmin:

    Menu to compile/Reload Applications database entities
    Compile flexfields

    4 compile the menu information.

    I'm not 100% sure what options I am supposed to provide the 4 steps above. Looks like step 3 is optional based on another post.
    If someone could just give me the right choice? It comes to 11.5.10.

    Of adadmin:

    Menu to compile/Reload Applications database entities
    Compile the menu information

    All the foregoing is documented and explained properly to the "maintenance of Oracle Applications Documentation Set".

    Maintain all Documentation Oracle Applications
    http://download.Oracle.com/docs/CD/B25516_18/current/HTML/docset.html

    Thank you
    Hussein

  • Separate Code that is compiled from source off, why?

    I ran on a question and would like to know if there is a reason, it happens or is this a bug. Basically, we separate compiled all of our source code to make the work with the most effective source control. I ran into a problem where some files have the option grayed out and disabled. Separate the compiled code is disabled and the ability to change this parameter itself is disabled. The option can be modified using scripts or the other. The strange thing is if you copy all the code in the block diagram and pasting it into a new VI option can be changed on the new VI. Is there a reason that this option becomes invalid? Is it just a type of corruption of the original files that prevent it? Is this a bug?

    I am currently working with LV 2011.

    Gets option disabled if you express VI in the code, i.e., delay time.

    http://digital.NI.com/public.nsf/allkb/886185BE7118C5DE8625780A00769D0F

  • LabVIEW project: Mass compile automatically

    Is it possible to use massive compilation that it is used in a project, LabVIEW, in other words, right click on the top of the tree (the project) and using massive compilation by program?

    I have reviewed the articles on the massive compilation of the directory, or mass compiles all VI within the project (requires a certain amount of overhead).

    It doesn't seem to be an invoke node that when you have a reference to the project, will allow you mass compile the project.  No article on point as far as I can tell.

    A follow-up question would be, is it better to mass compile the directory of a project, or each of the files in a project?

    Operation 'Save all' on the project will be enough for what you need? If so, it is a hidden gem for this:

    VI.lib\Utility\EditLVProj\Save all Project.vi this

    "Save all" and compile mass have some subtle differences, but if a "save all" will do for you that VI should be all you need.

  • Compiled of updates for Windows XP

    Hi, I believe that for Win XP will call for its end. sigh :(   Is there any compiled all of the updates available that I can download and keep in case my hard drive needs formatting/reinstalling?

    See: http://support.microsoft.com/kb/913086/en-au

  • How to compile the single form?

    Hi all

    EBS R12.2.4

    RHEL6.5

    How do you compile a single form? or all forms in a single module as AR?

    In fact, I have compiled all forms for all modules in our case of BSE, and it took a lot of time. After that, the functional a user issue has been resolved.

    Now, I do not understand why another encounter similar error again functional:


    While it opens a form, the FRM-40735 displayed error message: a TIME-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-20002

    Capture1.PNG

    Capture2.PNG

    Capture3.PNG

    Capture4.PNG

    ---------------------------------------
    Current form
    ----------------------------------------
    Request form: claims
    Name: ARXRAATR
    Train path: /u01/appuat/UAT/fs2/EBSapps/appl/ar/12.0.0/forms/US/ARXRAATR.fmx
    Form Version: 12.0.30.12020000.2
    Last modification of the form: $Date: 2013/03/10 06:49 $

    How to compile this form ARXRAATR.fmx?

    Help, please...
    Thank you very much
    JC

    Check this document:

    Accounting revenue and sales credits: unexpected error while initializing FRM-40735: trigger once - new - form - Instance (Doc ID 1386372.1)

    Kind regards

    Bashar

  • fill an object with a pattern in adobe illustrator ipad app

    Hello

    I'm illustrating children's book and am in need of complete part o my paint with a pattern. Can someone help me with this?

    HI Dieutes,

    I'm sorry, it is not yet possible to the draw. All patterns will be done "by hand" on a separate layer.

    Sue.

  • In a helpset with several CHMS, how to make the table of main contents appear in all CHMS child?

    I use RoboHelp 11. The software product I am documenting is modular, so help is also divided into numerous CHMS (requirement). One of the other requirements is that the table of contents of the master project appears, called anyone who chm contains the link by the software. I did it with merged WebHelp (Kudos to Peter Grainge), but I could not help using RoboHelp HTML. Someone has it tried with success? Advice would be appreciated.

    This forces you to make the following changes:

    1. In each project, open the window used to display CHM. Click Advanced Properties and enter the name of the file from the table of contents for the master project in the field of the "Table of contents".
    2. After compiling all the files, open the master project. High hydrostatic pressure in the Notepad file. Locate the [MERGEDFILES] section. This should be a list of all CHMS that make up the final deliverable. For some time I used CHMS, so I do not remember if you must do this in all projects. Try first in the main project and you'll know if you do.
  • How to create the script to compile procedure files in oracle - urgent deadline...

    How to create the script to compile procedure files in oracle.    about to go live and have much .prc pkg in a directory usr/tmp/ar... Po... human resources etc. need to create a script to compile all the files in the folder, then do not open all necessary .prc suggestions on how to do it.   Thank you Tom.

    (1) an urgent need, ASAP,... are words that do not in a forum of volunteer. We are here to help if you need it now, for free, open a SR.

    (2) oracle procedures are not files.

    (3) I think you are trying to run operating system packages, no Oracle procedure. right?

  • Don't see any patterns in APEX4

    Why can't I see all patterns available in Enterprise Manager in APEX4 see? I don't see that on the 13 patterns and I have about 40 in total.
    But I noticed that if I add a new diagram in EM I see immediately in APEX4, no problem for the new patterns.
    I see the APEX 4 the HR schema for example but do not see the OE, patterns of SCOTT among others.

    I don't see all the workspaces I EM.

    I think that all of these items should be available in APEX, or not?

    Gaby,

    Patterns & demonstration system are intentionally omitted from APEX for security or other reasons. The complete list of those who are in the wwv_flow_restricted_schemas table. There are 46 in all:

    SQL> select schema from apex_040000.wwv_flow_restricted_schemas;
    
    SCHEMA
    ------------------------------
    ANONYMOUS
    AURORA$JIS$UTILITY$
    AURORA$ORB$UNAUTHENTICATED
    AVSYS
    CTXSYS
    DBSNMP
    DIP
    DMSYS
    DVF
    DVSYS
    EXFSYS
    LBACSYS
    MDDATA
    MDSYS
    MGMT_VIEW
    ODM
    ODM_MTR
    OE
    OLAPSYS
    ORDPLUGINS
    ORDSYS
    OSE$HTTP$ADMIN
    OUTLN
    PERFSTAT
    PM
    QS
    QS_ADM
    QS_CB
    QS_CBADM
    QS_CS
    QS_ES
    QS_OS
    QS_WS
    RMAN
    SCOTT
    SH
    SI_INFORMTN_SCHEMA
    SYS
    SYSMAN
    SYSTEM
    TSMSYS
    WKPROXY
    WKSYS
    WK_TEST
    WMSYS
    XDB
    
    46 rows selected.
    

    Thus, you will never be able to create a workspace on these patterns, as you will likely do more damage that good if these patterns could be modified directly.

    I don't know why (SCOTT & OE) demonstration patterns have been included in this list; Perhaps one of the APEX team can sound as to why those who have been omitted.

    Thank you

    -Scott-

    http://spendolini.blogspot.com
    http://www.sumneva.com

Maybe you are looking for