DBMS SQL DIAG package

Hi all

Recently I came across the "dbms.sqldiag_internal" package in oracle's blog.

It has been mentioned that this package can be used to create fix sql with notes, thus changing the path queries generated by applications packaged as siebel.

I googled carefully on the creation of this patch, but in vain. There was one and only reference to blogs.oracle.com with an example. Also, this has not been documented by Oracle.

So I would like to know if someone tried to create patches SQL in this way and they was useful?

If so could provide me with some references for the implementation step by step?


Please find below oracle blog link:

https://blogs.Oracle.com/optimizer/entry/how_can_i_hint_a

Recently I came across the "dbms.sqldiag_internal" package in oracle's blog

I think that it was news to most of us.

The implementation step by step has been detailed in the blog that you linked.

The most important point on application of your own sql patch is if it is supported, and why you would use this approach on an approach supported and documented using a base plan sql?

I asked the question on the blog, but he has not spent with moderation and not responded to.

You can certainly use base lines to amend the plan packaged sql using dbms_spm.load_plans_from_cursor_cache, for example
http://OraStory.WordPress.com/2011/10/13/no-need-to-change-source-code-hint-it-using-a-baseline/

Tags: Database

Similar Questions

  • DBMS sql: native compilation

    Salvation;

    We develop several packges in pl/sql.

    In order to spin faster, we decided to compile natively. (don't really know now if it was a good decision!)
    ALTER SESSION SET PLSQL_CODE_TYPE = NATIVE;
    change the package XXX compilation package.
    change the package package YYY compilation;

    After this compilation, SYS. Trows DBMS_SQL (used in our packages) a mistake:
    ORA-29471 dbms_sql access denied

    It works well, if we also compile the SYS. DBMS_SQL natively.
    ALTER SESSION SET PLSQL_CODE_TYPE = NATIVE;
    change the package package sys.dbms_sql compilation;

    Is it safe to do? Is this native compilation a good pratice pl/sql?

    PauloSMO wrote:
    In order to spin faster, we decided to compile natively. (don't really know now if it was a good decision!)
    ALTER SESSION SET PLSQL_CODE_TYPE = NATIVE;

    After this compilation, SYS. Trows DBMS_SQL (used in our packages) a mistake:
    ORA-29471 dbms_sql access denied

    If you have clearly chosen foruse dynamic SQL, you chose to give priority less LOC on the performance. So, why go this route? Precompile your PL/SQL in native C won't make a big difference for the overhead of constantly Assembly and analysis of SQL statements.

    In addition, advice on native compilation are that it is beneficial for pure PL/SQL programs but does not have much of a difference to programs that are controlled by the data. If you use dynamic SQL statements chances are your routines are data-driven (otherwise, what's the point to use dynamic SQL statements?) it seems very little probable that you will see a lot of value to native compilation, although YMMV.

    Cheers, APC

  • R embeddied in SQL - ggplot2 package

    Hello!

    I have

    Database Oracle 12 c, R 3.0.1 ORE 1.4

    installed.

    I use Oracle SQL Developer 4.0.0.

    In RStudio, with ORE client connected to the server of ore, I installed ggplot2 library.

    When I run after the code in SQL Developer, I get no results

    BEGIN

    sys.rqScriptDrop ('PNG_Example');

    sys.rqScriptCreate ('PNG_Example',

    "function() {}

    x < - 1/100

    y <-log(1:100)

    Library (ggplot2)

    qplot(x,y)

    }');

    END;

    /

    SELECT *.

    TABLE (rqEval (NULL, 'PNG', 'PNG_Example'));

    Why is it so? I missed something?

    I need to have embedded in the SQL code ggplot2 graphics, not only simple graphs based on the basic plot.

    Hello

    The qplot function returns a ggplot object. The chart does not display until you call print or draw on the object:

    Plot (qplot(x,y))

    Sherry

  • Test the DBMS packages

    Hello

    I m new tottaly to planners of DBMS and integrated packages. I've never used. I m try to make use of
    - DBMS_stats.gather_table_stats
    - DBMS_schedular.generate_job_name
    - DBMS_schedular.create_job
    I was wondering, is it all i run these packages or test packages only for purpose of learning...

    And also, it will be great, if you could briefly explain these built packages... Thank you very much!!

    You can find demos in the library of Morgans.

    http://www.morganslibrary.org/reference/dbms_scheduler.html

    http://www.morganslibrary.org/reference/DBMS_STATS.html

    As for the explanation, you should be able to find some decent details by searching the documentation.
    http://www.Oracle.com/pls/db112/homepage

  • to display only the DBMS of the main function

    Hello

    I have my with oracle11g. I am writing a function inside the function that I call a package using select stmt.
    This package has statements dbms_output.
    In the main function I also stmts DBMS.

    Is it possible not to show the function main and not the package DBMS output.
    I tried to do dbms_output.disable and activate, but somehow does not properly.
    I called 3 packets inside the function if too much DBMS to print.
    I can't remove the DBMS of the package.

    Thank you

    As said by Blu - DBMS_OUTPUT is a very primitive and very flexible (not solid) way of debugging and instrumentation.

    But since you have existing code that must be changed with minimal effort to get a useful debugging output, you can do the following:

    Instead of calling DBMS_OUTPUT. Disable(), call the custom DisableDbmsOutput() procedure. And rather than use the client to query the DBMS_OUTPUT buffer (e.g. using ServerOutput in SQL * more), simply query you the temporary table for output. For example

    SQL> --// this is what DBMS_OUTPUT should be using - something a lot more scalable
    SQL> --// and that does less "damage" to PGA memory
    SQL> create global temporary table dbms_output_buffer(
      2          text_line varchar2(4000)
      3  )
      4  on commit preserve rows;
    
    Table created.
    
    SQL>
    SQL> --// custom DBMS_OUTPUT disable procedure
    SQL> create or replace procedure DisableDbmsOutput is
      2          line            varchar2(32767);
      3          textLine        varchar2(4000);
      4          status          integer;
      5          pos             integer;
      6  begin
      7          --// "flush" any line not yet completed
      8          DBMS_OUTPUT.put_line( null );
      9
     10          --// save any existing output to the temp table
     11          loop
     12                  DBMS_OUTPUT.get_line( line, status );
     13                  exit when status = 1;
     14
     15                  pos := 1;
     16                  while pos < length(line) loop
     17                          textLine := SubStr( line, pos, 4000 );
     18                          insert into dbms_output_buffer values ( textLine );
     19                          pos := pos + 4000;
     20                  end loop;
     21          end loop;
     22
     23          DBMS_OUTPUT.Disable;
     24  end;
     25  /
    
    Procedure created.
    
    SQL>
    SQL> --// do not want SQL*Plus to interfere
    SQL> set ServerOutput off;
    SQL>
    SQL> --// run the PL/SQL code and use DBMS_OUTPUT.Enable and DisableDbmsOutput
    SQL> --// to turn logging on and off
    SQL> begin
      2          DBMS_OUTPUT.Enable;
      3          for i in 1..100 loop
      4                  DBMS_OUTPUT.put( 'This is a very long single message line. ' );
      5          end loop;
      6
      7          DisableDbmsOutput;
      8          for i in 1..10 loop
      9                  DBMS_OUTPUT.put_line( i||' This message should not be recorded by DBMS_OUTPUT.' );
     10          end loop;
     11
     12          DBMS_OUTPUT.Enable;
     13          DBMS_OUTPUT.put_line( 'What do you want, universe? (Klingon translation for "Hello world").' );
     14
     15          DisableDbmsOutput;
     16  end;
     17  /
    
    PL/SQL procedure successfully completed.
    
    SQL>
    SQL> --// query DBMS_OUPUT contents
    SQL> col text_line format a50 truncate
    SQL> select
      2          rownum,
      3          text_line
      4  from dbms_output_buffer;
    
        ROWNUM TEXT_LINE
    ---------- --------------------------------------------------
             1 This is a very long single message line. This is a
             2 gle message line. This is a very long single messa
             3 What do you want, universe? (Klingon translation f
    
    SQL> --// clear output
    SQL> truncate table dbms_output_buffer;
    
    Table truncated.
    
    SQL> 
    
  • Exercise enough free SQL Server running?

    I took a course SQL and the pattern of their installation program has been a (sitting at the computer) User Management Studio connection, which in turn connects to the SQL translator, which is attached with DBMS SQL Server, which is connected to the SQL Server database.

    All I want to do a few exercises query, and I wonder if the free SQL Server Express development would be sufficient.  I had a whole CD of SQL files, including some set up tables for questioning.  I would like to be placed on my home computer, which runs Windows 7 Professional 64 bit.

    Hello

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums:

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer

  • PACKAGE BODY APPS. AD_ZD_ADOP contains errors

    APP TIER - Linux - SLES 11 - SP2 - x86_64

    DB LEVEL - Linux for system Z - SLES 11 - SP2 - s390

    I encounter errors in the body to Package APPS. AD_ZD_ADOP, that has brought all the patches to a status quo on our schedule instance.

    The sequence of events have been

    The following hotfixes have been applied.

    1. Patch 19462638
    2. Patch 19197270
    3. Patch 21132723
    4. 19330775
    5. 20677045
    6. 19259764

    Doc 1617461.1 was followed - B path of

    After Patch 19259764 has been applied, all steps until step 8 of Doc 1617461.1 have been completed.

    Failure of the fs_clone step (step 9). My colleague opened a SR - advice was far from expected.

    Yesterday, I took this with success and more cloned the fix for the file system to perform file system (1383621.1) - however, I'm still not able to run fs_clone with success.

    Even a basic ADADMIN session fails.

    Here are the errors while trying to compile APPS package bodies. AD_ZD_ADOP

    SQL > alter package APPS. AD_ZD_ADOP compile body;

    WARNING: The bodies of Package modified with compilation errors.

    SQL > show errors;
    Errors for BODY of PACKAGE applications. AD_ZD_ADOP:

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    2503/3 PL/SQL: statement ignored
    2503/7 PLS-00201: identifier ' SYS. DBMS_METADATA_UTIL' must be declared
    SQL >

    Also while trying to launch ADADMIN, I get errors themselves.

    Error of Administration AD:

    ORA-04063: package body "APPS. AD_ZD_ADOP"contains errors

    Could not insert the record of the action in the table of patches

    Error of Administration AD:

    Error when you try to insert adadmin task CMP_INVALID action

    Update running adadmin of failure actions

    Error of Administration AD:

    The following ORACLE error:

    ORA-01756: city not properly finished chain

    occurred while executing the SQL statement:

    UPDATE ad_adop_session_patches set status = 'F' where status = 'R' and

    as numero_de_bogue ' ADADMIN

    Error of Administration AD:

    Table ad_adop_session_patches update errors

    You must check the file

    /U02/fs_ne/EBSapps/log/ADadmin/log/ADadmin.log

    to find errors.

    Can someone please. I have also a SR - but nice try various channels to find a solution.

    Hello

    The necessary subsidies on the SYS package may be missing. DBMS_METADATA_UTIL.

    Try this command (as sysdba) and compile the package:

    Grant execute on SYS. DBMS_METADATA_UTIL applications;

    Kind regards

    Bashar

  • How to install SQL Developer 4.1 on Win10?

    Hi guys,.

    today I tried to install the SQL Developer 4.1 on a Win10 machine. First of all, I tried with the version that contains the JDK and then I installed the jdk1.8.0_51 manually and used normal SQL Developer packages.

    My problem is that the SQLDeveloper cannot be started. During the first trial an error has occurred that a dll could not be run. With the manual installed JDK SQLDeveloper processes is killed during the splash screen and start something with "Register"... »

    Thanks for your comments

    Andy

    > error has occurred that a dll could not be run

    Remember you of what was the real error message?

    You can try to delete the application profiles for SQL Developer data directory and try again

  • package body "APPS. AD_ZD_ADOP' mistakes adoption apply fail

    Hello to any help/solution for this error:

    EBS version 12.2

    Intend to upgrade to 12.2.4 then only may apply Doc-Id 1617461.1 :

    "adoption phase = apply patches = 19330775, 20677045 = /hotpatch merge Yes = yes".

    Validation of the system configuration...

    [ERROR] Could not execute the SQL statement:

    Select AD_ZD_ADOP. The double GET_INVALID_NODES()

    [ERROR] Error message:

    [ERROR] Could not execute the SQL statement:

    Select AD_ZD_ADOP. The double GET_INVALID_NODES()

    [ERROR] Error message:

    [UNEXPECTED] '-1' nodes are listed in the table ADOP_VALID_NODES, but not in the FND_NODES table.

    [UNEXPECTED] To fix this problem, run AutoConfig on the nodes '-1 '.

    [UNEXPECTED] Error checking if it is an instance of multi node

    SQL > ALTER PACKAGE APPS. BODY OF AD_ZD_ADOP OF COMPILATION;

    WARNING: The bodies of Package modified with compilation errors.

    SQL > SHOW ERRORS, PACKAGE BODY APPS. AD_ZD_ADOP

    Errors for BODY of PACKAGE applications. AD_ZD_ADOP:

    LINE/COL ERROR

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

    505/13 PL/SQL: statement ignored

    507/86 PL/SQL: ORA-00904: "SESSION_TYPE": invalid identifier

    511/13 PL/SQL: statement ignored

    513/86 PL/SQL: ORA-00904: "SESSION_TYPE": invalid identifier

    521/12 PL/SQL: statement ignored

    524/18 PL/SQL: ORA-00904: "SESSION_TYPE": invalid identifier

    533/9 PL/SQL: statement ignored

    535/121 PL/SQL: ORA-00904: "SESSION_TYPE": invalid identifier

    575/9 PL/SQL: statement ignored

    577/123 PL/SQL: ORA-00904: "SESSION_TYPE": invalid identifier

    1580/7 PL/SQL: statement ignored

    LINE/COL ERROR

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

    1582/65 PL/SQL: ORA-00904: "SESSION_TYPE": invalid identifier

    SQL >

    Thank you!

    Luis

    Hello

    The solution is:

    1. check that your ad_adop_session_patches.xdf file is version 120.6.12020000.4

    grep Header $AD_TOP/patch/115/xdf/ad_adop_session_patches.xdf

    2. If the version is correct, then run this command (from Bug 18544083 : ADOPTION: ORA-04063: "APPS.) (AD_ZD_ADOP"CONTAINS ERRORS / ORA-00904:"SESSION_TYPE"):

    adjava-mx512m - nojit oracle.apps.fnd.odf2.FndXdfCmp applsys APPS apps APPS thin :: table $AD_TOP/patch/115/xdf/ad_adop_session_patches.xdf $FND_TOP/patch/115/xdf/xsl changedb = y

    Please put in the host current (complete), port, and SID

    NOTE: If you want to test the command first, please change "changedb = y" to "changedb = n".

    3. Please retry compilation AD_ZD_ADOP (or try running ADZDADOPB.pls).

    4. If the compilation of work, retry the patch.

    Kind regards

    Luis

  • DBMS_REDEFINITION package leads to a PLS00201 compilation error

    I try to put a logic of redefining online within a packet but direct issues, in particular the package doesn't seem to know DBMS_REDEFINITION. I can run DBMS_REDEFINITION, only not go in a package or a program named.

    Here is a minimal example that fails:

    -- Executed by the same user
    -- This works just fine:
    BEGIN
      DBMS_OUTPUT.PUT_LINE(SYS.DBMS_REDEFINITION.CONS_USE_ROWID);
    END;
    
    
    -- This generates PLS-00201 error on SYS.DBMS_REDEFINITION:
    CREATE OR REPLACE PACKAGE testpkg
      AUTHID CURRENT_USER
    AS
      gc_int PLS_INTEGER := SYS.DBMS_REDEFINITION.CONS_USE_ROWID;
    END testpkg;
    
    
    -- This does not work because testpkg is invalid:
    BEGIN
      DBMS_OUTPUT.PUT_LINE(testpkg.gc_int);
    END;
    

    The problem is that I can run these instructions to the same user within the same session and I still get the error PLS. I even ran on my own system of sandbox (12 c VM) where I have system privileges, but it does not work. I fiddled with the AUTHID clause but that did not help.

    Related discussions:

    Any suggestions?

    How grant you permission to this user to use dbms_redefinition? It must be a direct subsidy without a role:

    Connected to:
    Oracle Database 11g Release 11.2.0.4.0 - 64bit Production                      
    
    SQL> CREATE OR REPLACE PACKAGE testpkg
      2    AUTHID CURRENT_USER
      3  AS
      4    gc_int PLS_INTEGER := SYS.DBMS_REDEFINITION.CONS_USE_ROWID;
      5  END testpkg;
      6  /                                                                         
    
    Warning: Package created with compilation errors.                              
    
    SQL> drop package testpkg;                                                     
    
    Package dropped.                                                               
    
    SQL> conn / as sysdba
    Connected.                                                                     
    
    SQL> grant all on dbms_redefinition to hr;                                     
    
    Grant succeeded.                                                               
    
    SQL> conn hr/hr
    Connected.
    SQL> CREATE OR REPLACE PACKAGE testpkg
      2    AUTHID CURRENT_USER
      3  AS
      4    gc_int PLS_INTEGER := SYS.DBMS_REDEFINITION.CONS_USE_ROWID;
      5  END testpkg;
      6  /                                                                         
    
    Package created.
    
  • MS SQL Server 2008 DDL import problems

    I am trying to import DDL SQL Developer DM 4.0 from a backup MS SQL 2008 DDL.   It fails to recognize ONE of the instructions in the SQL file (quite legitimate).    I am clearly a bad thing, but I have no idea what!   Any help/advice gratefully received.

    Very strange.  I'm confused by the

    ÿþU

    Maybe a character together with the DDL file problem?

    When I tried to import your DDL with version 4.0.3.853 the import log showed:

    Oracle SQL Developer Data Modeler 4.0.3.853

    Oracle SQL Developer Data Modeler import log

    Date and hour: 2014-11-27 12:59:59 GMT

    Name creation: Untitled_1

    DBMS: SQL Server 2008

    Instructions: 14

    Any statements: 12

    Has no statements: 0

    Not recognize statements: 2

    < not="" recognized="">>>>>

    IF (1 = FULLTEXTSERVICEPROPERTY ('IsFullTextInstalled'))

    Start

    EXEC [MyDatabase]. [dbo]. [sp_fulltext_database] @action = "disable."

    end

  • SQL Developer / Data Modeler - lost visual on the relationships between the tables

    11 GR 2 DBMS / SQL Developer 4.0.3

    In SQL Developer, using the Data Modeler I lost the visuals 'lines' (one to several, etc.) which show the PK to FK relationship between different tables from one of my patterns of relationship.  I know they exist - I'm sure it's my fault--put out something that I don't have.

    I looked on the web but without SOAP.  Can anyone tell me if it is a property and (as applicable) how to re - turn on the property.

    Thanks in advance.

    Barry D.

    Sorry - I found it - the relationship lines were VERY clear yellow and I could barely see it.

    Article by Jeff Smith on the model configuration screen has been very useful in this regard.

    http://www.thatjeffsmith.com/archive/2013/01/Configuring-display-of-model-relationships-in-Oracle-SQL-Developer-Data-Modeler/

    Thank you Jeff (again).

    Barry D

  • Running SQL scripts on different databases

    Hello!

    At my work we have many databases on a server. I have to make a request so that users can run the application on a selected database SQL scripts.

    So my question may be separated into 2 sections:

    1 - is possible to let users SQL scripts run directly from the application?

    I think a database to create a page that displays the list of all the SQL scripts, that we want to use, and when you click on a specific script name in the list, it asks something like "Where the database you want to run the script?", and then, as confirmed by the user, it would show results running the script on a different page.

    is 2 - possible to let users choose what database to run these scripts?

    Any information would be helpful, I'm at the beginning of the project and am not sure at all about how to proceed, or if it is at all possible.

    Thank you!

    Fallen_Kaede wrote:

    Thanks for the quick response. I confirm that we are talking about databases on a server.

    The request is to "debug" to other databases. For example, be run scripts to the locks on the list, to show the different indexes on a table, etc. to help diagnose problems.

    It looks like the 'users' are DBA who should use OEM/Grid Control to do so.

    1 - is possible to let users SQL scripts run directly from the application?

    Lol the only way to run scripts in the APEX is the use of the SQL Scripts for SQL workshop component.

    The key word in your question is 'application '. SQL * more and Developer SQL are applications that allow users to run SQL scripts on the desktop. Scripts SQL is an APEX integrated application that allows developers to run SQL scripts on the web. However, there is no documented way supported for end users to run SQL scripts in a custom of APEX application that you created. Therefore, rethink your approach. Rather than create an application APEX runs scripts, you must convert the scripts in PL/SQL, APEX packages, pages, components and applications leverage features of the APEX and reports, graphics and interactivity (e.g. exploration links; timed refreshes etc.). This will give you a user experience improved, beyond what is possible using static SQL scripts.

    is 2 - possible to let users choose what database to run these scripts?

    The APEX applications would exist on an instance of the APEX in a database and access other databases using the database links (which can have a performance impact). It would be possible to create a LOV based on the view of the USER_DB_LINKS dictionary and use in a selection set to a global page list to provide a control to set the current context of the database. Region data sources will have to be generated dynamically in the packages of PL/SQL use the links from relevant database based on this value LOV.

  • Package body dropped, but showing invalid

    Nice day:

    Oracle 11 g 2

    I created a Package with Package bodies, procedures 3, which works very well.  I can call it without error.  However, if I run this query:

    SELECT *.

    From user_objects

    Situation WHERE = "INVALID."

    I get the following result:

    OBJECT_NAMESUBOBJECT_NAMEOBJECT_IDDATA_OBJECT_IDOBJECT_TYPECREATEDLAST_DDL_TIMETIMESTAMPSTATUSTEMPORARYGENERATEDSECONDARYNAMESPACEEDITION_NAME
    TASK_PROCEDURES28700PACKAGE BODY5 July 14July 11, 142014-07 - 11:18:42:39Not validNNN2

    It is an old package body, that I dropped it about 4 days ago.  That is always supposed to show if I run this query?

    I work with Oracle SQL Developer, using almost the same version too. I don't think that it has nothing to do with the tool as the data dictionary shows this info too.

    Could you post the exact commands that you run from a sql more session? And the sql like too much output.

    Example (demo of pseudo code)

    SQL > alter the package xxx body compilation;

    SQL > compiled package.

    SQL > show errors

    SQL > no error

    SQL > drop package xxx;

    SQL > package abandoned;

    SQL > drop package body xxx.

    ???

    SQL > select xxx.someFunction from double;

    I could explain the behavior if you have enabled the editions (CDE). But there is no air if in your case.

    Just to be absolutely sure of it. Make the select statement and after the release:

    select object_name, object_type, namespace, edition_name
    from user_objects_ae
    where object_name = 'YOURPACKAGENAME';
    
  • ORA-04063: package body "APPS. HZ_PARTY_STAGE"contains errors

    Hello

    Received the error when compile. Checked in the Note: 427418.1 did not work. Help, please. It's 12.1.3, 11.2.0.3 Linux database.

    SQL > alter package APPS. HZ_PARTY_STAGE compile body;

    WARNING: The bodies of Package modified with compilation errors.

    SQL > show err

    Errors for BODY of PACKAGE applications. HZ_PARTY_STAGE:

    LINE/COL ERROR

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

    85/5 PL/SQL: statement ignored

    85/5 PLS-00201: identifier ' AD_CTX_DDL. DROP_PREFERENCE' must be

    has said

    95/5 PL/SQL: statement ignored

    95/5 PLS-00201: identifier ' AD_CTX_DDL. CREATE_PREFERENCE' must be

    has said

    96/5 PL/SQL: statement ignored

    96/5 PLS-00201: identifier ' AD_CTX_DDL. SET_ATTRIBUTE' must be declared

    3313/28 PL/SQL: statement ignored

    LINE/COL ERROR

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

    3313/28 PLS-00201: identifier ' AD_CTX_DDL. SYNC_INDEX' must be declared

    3322/27 PL/SQL: statement ignored

    3322/27-PLS-00201: identifier ' AD_CTX_DDL. SYNC_INDEX' must be declared

    3352/24 PL/SQL: statement ignored

    3352/24 PLS-00201: identifier ' AD_CTX_DDL. SYNC_INDEX' must be declared

    3362/23 PL/SQL: statement ignored

    3362/23 PLS-00201: identifier ' AD_CTX_DDL. SYNC_INDEX' must be declared

    3399/26 PL/SQL: statement ignored

    3399/26-PLS-00201: identifier ' AD_CTX_DDL. SYNC_INDEX' must be declared

    3409/26 PL/SQL: statement ignored

    3409/26-PLS-00201: identifier ' AD_CTX_DDL. SYNC_INDEX' must be declared

    LINE/COL ERROR

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

    3447/27 PL/SQL: statement ignored

    3447/27-PLS-00201: identifier ' AD_CTX_DDL. SYNC_INDEX' must be declared

    SQL > grant execute on AD_CTX_DDL. DROP_PREFERENCE applications;

    Grant execute on AD_CTX_DDL. Applications DROP_PREFERENCE

    *

    ERROR on line 1:

    ORA-04042: procedure, function, package, or package body does not exist

    The solution in the doc, you mentioned in your first post. Run the dctxpkg.sql script and pass the correct settings and make sure that it runs successfully.

    Thank you

    Hussein

Maybe you are looking for