Errors in the schema SQL TestStand 4.1.1

I am trying to create a new MSDE 2005 SQL Server database using the new schema of TestStand 4.1.1. I've used the SQL Server stored procedure to generate a .sql file, and then run this SQL file. I get several errors similar to the following:

> CREATE TABLE STEP_RESULT (ID uniqueidentifier PRIMARY KEY, UUT_RESULT uniqueidentifier, STEP_PARENT uniqueidentifier, int ORDER_NUMBER, STEP_NAME varchar (255), STEP_TYPE varchar (255), STEP_GROUP varchar (32), STEP_INDEX int, STEP_ID varchar (32), STATUS varchar (255), REPORT_TEXT varchar (255), int, varchar ERROR_MESSAGE ERROR_CODE (255), CAUSED_SEQFAIL bit, MODULE_TIME float, float TOTAL_TIME) Int NUM_PASSED int NUM_LOOPS, int NUM_FAILED, int ENDING_LOOP_INDEX, int LOOP_INDEX, int INTERACTIVE_EXENUM, CONSTRAINT STEP_RESULT_FK FOREIGN KEY (UUT_RESULT) REFERENCES (ID))
Command failed with the following error...:
Line 1: Syntax incorrect close '('.) (- 2147217900)

I tried to run this statement in both MSDE and through the viewer of TestStand database with similar results. Everyone knows this problem or have any ideas?

Function to generate the SQL files from a schema does not always perfect SQL statements, but closer you get to where you need to be to try to create it from scratch. Have you thought to look at the default SQL files included with the product, specifically the file "SQL Server Create Stored Proc result Tables.sql" located in the directory "\Components\Models\TestStandModels\Database?" It is a file that should work out of the box for the default schemas for SQL server and MSDE. Other SQL files for other schemas by default, and there are older SQL files for previous versions in the subdirectory 'previous patterns (2.x - 4.0).

Tags: NI Software

Similar Questions

  • error in the schema import

    I tried to import and to remap a schema again. I did these steps. close to there, but failed.

    Thank you.
    1. create a new schema
         create user hr_1 identified by hr_1;
         
         CREATE OR REPLACE DIRECTORY test_dir AS 'C:\oracle\backup';
         GRANT READ, WRITE ON DIRECTORY test_dir TO hr_1;
    
         ALTER USER hr_1 default tablespace USERS TEMPORARY TABLESPACE temp quota unlimited on USERS
      2. permission
         
         Grant create session to hr_1 ;
    
    Grant create table to hr_1 ;
    
    Grant create view to hr_1 ;
    
    Grant create trigger to hr_1 ;
    
    Grant create procedure to hr_1 ;
    
    Grant create sequence to hr_1 ;
    
    grant create synonym to hr_1 ;
      
      3.   impdp hr_1/hr_1@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log
    The error message is
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "HR_1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "HR_1"."SYS_IMPORT_FULL_01":  hr_1/********@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log;
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
     CREATE USER "HR_1" IDENTIFIED BY VALUES 'S:4EFA7CA4D96DA9C229585F32BC0A3D31063FB79B8D1E51B6F77913B7B335;4C6D73C3E8B0F0DA' DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE
     "TEMP"
    
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE DATABASE LINK TO "HR_1"
    
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE SEQUENCE TO "HR_1"

    806540 wrote:
    I tried to import and to remap a schema again. I did these steps. close to there, but failed.

    Thank you.

    1. create a new schema
         create user hr_1 identified by hr_1;
    
         CREATE OR REPLACE DIRECTORY test_dir AS 'C:\oracle\backup';
         GRANT READ, WRITE ON DIRECTORY test_dir TO hr_1;
    
         ALTER USER hr_1 default tablespace USERS TEMPORARY TABLESPACE temp quota unlimited on USERS
    2. permission
    
         Grant create session to hr_1 ;
    
    Grant create table to hr_1 ;
    
    Grant create view to hr_1 ;
    
    Grant create trigger to hr_1 ;
    
    Grant create procedure to hr_1 ;
    
    Grant create sequence to hr_1 ;
    
    grant create synonym to hr_1 ;
    
    3.   impdp hr_1/hr_1@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log
    

    The error message is

    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "HR_1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "HR_1"."SYS_IMPORT_FULL_01":  hr_1/********@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log;
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    CREATE USER "HR_1" IDENTIFIED BY VALUES 'S:4EFA7CA4D96DA9C229585F32BC0A3D31063FB79B8D1E51B6F77913B7B335;4C6D73C3E8B0F0DA' DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE
    "TEMP"
    
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE DATABASE LINK TO "HR_1"
    
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE SEQUENCE TO "HR_1"
    

    Hello

    Why you can't use the SYSTEM user?
    Also, make sure you have or you have an IMP_FULL_DATABASE role (or) s/n & then try again

  • Declarations of error in the PL/SQL Code

    Hi all:

    I have a routine of PL/SQL that I need to add "Error Statements" in case something thing errors when it is run, the user will know and be able to solve the problem. Here's a copy of what I need to run. Is a unique it will only be run once and when it is finished without error, it will not be used again, but when it ran inside TOAD / TORA / SQLPlus, how to display an error to the user in case something goes wrong? I know it's probably a very simple thing to do, but I come from SQL Server and only learn PL/SQL - Oracle and I do not know how to do this. Any help would be greatly appreciated.

    DECLARE
    -----------------------------------------------------------------------------------------------
    -Local Variables
    -----------------------------------------------------------------------------------------------
    l_gm_master_label VARCHAR2 (20);
    l_active_flag VARCHAR2 (1);
    l_currdate DATE;
    l_comp_id VARCHAR2 (10);
    l_site_id VARCHAR2 (12);
    l_gm_master_id NUMBER;
    BEGIN
    -----------------------------------------------------------------------------------------------
    -Set default values
    -----------------------------------------------------------------------------------------------
    l_gm_master_label: = 'DMLogic001 ';
    l_active_flag: = 'n';
    l_currdate: = SYSDATE;
    l_comp_id: = 'XE ';
    l_site_id: = "OHIO."
    l_gm_master_id: = 0;
    -----------------------------------------------------------------------------------------------
    -Get the next value
    -----------------------------------------------------------------------------------------------
    SELECT
    trn_gm_master_seq. NEXTVAL
    IN
    l_gm_master_id
    Of
    Double;
    -----------------------------------------------------------------------------------------------
    -Insert generic Gray number master record who will join all the serial numbers DMLogic
    -----------------------------------------------------------------------------------------------
    INSERT INTO ebiznet.trn_gm_master
    (gm_master_id,
    gm_master_label,
    active_flag,
    CURRDATE,
    identifiant_composant,
    Site_ID)
    VALUES
    (l_gm_master_id,
    l_gm_master_label,
    l_active_flag,
    l_currdate,
    l_comp_id,
    l_site_id);
    -----------------------------------------------------------------------------------------------
    -Insert the records
    -----------------------------------------------------------------------------------------------
    INSERT INTO ebiznet.trn_gm_serial_number
    (gm_serial_number_id,
    gm_master_id,
    gm_serial_number,
    received_by,
    received_date,
    picked_by,
    picked_date,
    ebiz_sku_no,
    identifiant_composant,
    Site_ID,
    ebiz_ord_no,
    interface_date)
    SELECT
    trn_gm_serial_number_seq. NEXTVAL,
    l_gm_master_id,
    S.Serial_number,
    1,
    S.CREATION_DATE,
    1,
    S.CREATION_DATE,
    S.ebiz_sku_no,
    l_comp_id,
    l_site_id,
    O.ebiz_ord_no,
    S.interface_date
    Of
    dmlogic.trn_rm_serial_number S
    INNER JOIN ebiznet.trn_ordhead O ON S.ord_no is O.ord_no;.
    ----------------------------------------------------------------------------------------------
    -Commit the changes
    ----------------------------------------------------------------------------------------------
    COMMIT;
    -----------------------------------------------------------------------------------------------
    -Rollback If an error occurred
    -----------------------------------------------------------------------------------------------
    EXCEPTION
    WHILE OTHERS THEN
    ROLLBACK;
    END;

    Remove WHEN OTHERS will allow exceptions to access the user and halt execution. You get a descriptive message and the line in PL/SQL, where it has occurred.

    In very rare occasions when OTHERS WHEN is inevitable, RAISE re-lift the exception and stop running.

    You can increase your own exceptions to conditions specific to your application with RAISE_APPLICATION_ERROR(). (Syntax and parameters can be found in the documentation)

  • Error in the pl/sql process

    Hi guru

    I get the error message like: -.

    "1 error has occurred."
    ORA-06550: line 6, column 32: PLS-00103: encountered the symbol "&" when expecting one of the following values :), * & - + / in rem rest mod and/or as | multiset.


    BEGIN

    IF (: P3_ID! = null & &: P3_ID! = ") THEN
    INSERT
    ON THE OTHER
    INSERT
    END IF;

    END;


    I get the error under the present: - < b > (: P3_ID! = null & &: P3_ID! = ") < /b >, I am writing to you as: - < b > (: P3_ID! = null) < /b > the pl/sql process works very well, so how can specify two different conditions with & & operators in the middle.


    Thanks for your help


    Kind regards
    Kumar

    In my opinion, as AND would be the correct logical operator.
    Why not just use a declarative validation? Also, I don't think you can compare to NULL - you can say whether a value IS NULL or IS NOT NULL.

    Georger

    gkkumar wrote:
    Hi guru

    I get the error message like: -.

    "1 error has occurred."
    ORA-06550: line 6, column 32: PLS-00103: encountered the symbol "&" when expecting one of the following values :), * & - + / in rem rest mod and/or as | multiset.

    BEGIN

    IF (: P3_ID! = null &: P3_ID! = ") THEN
    INSERT
    ON THE OTHER
    INSERT
    END IF;

    END;

    I get the error under the present:- (: P3_ID! = null &: P3_ID! = "), if I write like:- (: P3_ID! = null) pl/sql process works very well, so how can specify two different conditions with & operators in the middle.

    Thanks for your help

    Kind regards
    Kumar

  • Error in the PL/SQL procedure

    Kindly suggest how to correct the error in below given procedure
    
    DECLARE
       l_error   VARCHAR2 (4000);
    BEGIN
       FOR i IN 1 .. apex_application.g_f02.COUNT
       LOOP
          IF   (apex_application.g_f18(i)) IS NOT NULL
           AND (apex_application.g_f19(i)) IS NULL
           AND (apex_application.g_f20(i)) IS NULL
           AND (apex_application.g_f21(i)) IS NULL
          THEN
             l_error :=' Enter values for column  19,20,21 ';
          END IF;
       END LOOP;
     
       RETURN (l_error);
    END;
     
    I get the error - In a procedure, RETURN statement cannot contain an expression

    user12957777 wrote:

    Kindly suggest how to correct the error in below given procedure
    
    DECLARE
    l_error   VARCHAR2 (4000);
    BEGIN
    FOR i IN 1 .. apex_application.g_f02.COUNT
    LOOP
    IF   (apex_application.g_f18(i)) IS NOT NULL
    AND (apex_application.g_f19(i)) IS NULL
    AND (apex_application.g_f20(i)) IS NULL
    AND (apex_application.g_f21(i)) IS NULL
    THEN
    l_error :=' Enter values for column  19,20,21 ';
    END IF;
    END LOOP;
    
    RETURN (l_error);
    END;
    
    I get the error - In a procedure, RETURN statement cannot contain an expression
    

    You are in an anonymous PL/SQL block. By definition, they cannot return no matter what... you create a function if you want to use a RETURN order you are trying.

  • Error in the pl/sql block using associative arrays

    Hello
    I tried the following block of code using associative arrays.
    DECLARE
       TYPE NumTab IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
       CURSOR c1 IS SELECT empno FROM emp;
       empnos NumTab;
       rows   NATURAL := 10;
    BEGIN
       OPEN c1;
       FOR i in empnos.first..empnos.last LOOP
          /* The following statement fetches 10 rows (or less). */
          FETCH c1 BULK COLLECT INTO empnos LIMIT rows;
          EXIT WHEN c1%NOTFOUND;
          DBMS_OUTPUT.PUT_LINE ( empnos.next(i)); 
       END LOOP;
       CLOSE c1;
    END;
    and the error is
    DECLARE
    *
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 8
    could you please let me know where I am going wrong
    and please guide me where we use these associative arrays.

    Thank you

    Try this

    DECLARE
       TYPE NumTab IS TABLE OF emp%rowtype INDEX BY PLS_INTEGER;
       CURSOR c1 IS SELECT * FROM emp;
       empnos NumTab;
       rows   INTEGER := 10;
    BEGIN
      OPEN C1;
      LOOP
        FETCH c1 BULK COLLECT INTO empnos LIMIT rows;
        EXIT WHEN c1%NOTFOUND;
    
        FOR i IN 1..empnos.count
        LOOP
          DBMS_OUTPUT.PUT_LINE(empnos(i).empno || '/' || empnos(i).ename);
        END LOOP;
      END LOOP;
    END;
    
  • error in the Deniz/Begin/End block

    Hi all
    I wrote a query to show all functions and procedures, including their names, the parameter, the parameter type and return type
    I should say that using the structure delcare, start, end is mandatory for me here.
    DECLARE
    
    BEGIN
    
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    
    
    END;
    but I get this error
    Error starting at line 3 in command:
    DECLARE
    
    BEGIN
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    
    
    END;
    Error report:
    ORA-06550: line 4, column 1:
    PLS-00428: an INTO clause is expected in this SELECT statement
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    I know that it may be required to have 'in' in select when we use delcare/start/end.

    So would you please you rewrite the query?


    IM using oracle 11.2.0.2


    Thank you in advance.


    best, david

    1003209 wrote:
    Hi all
    I wrote a query to show all functions and procedures, including their names, the parameter, the parameter type and return type
    I should say that using the structure delcare, start, end is mandatory for me here.

    DECLARE
    
    BEGIN
    
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    
    END;
    

    but I get this error

    Error starting at line 3 in command:
    DECLARE
    
    BEGIN
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    
    END;
    Error report:
    ORA-06550: line 4, column 1:
    PLS-00428: an INTO clause is expected in this SELECT statement
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    

    I know that it may be required to have 'in' in select when we use delcare/start/end.

    So would you please you rewrite the query?

    IM using oracle 11.2.0.2

    Thank you in advance.

    best, david

    Hi David,

    The query will throw the error if the schema where you run out of '1' function or procedure in the system.
    It is not clear in your condition.
    Assuming that you want to display the output

    SQL> set serveroutput on
    SQL> DECLARE
      2  CURSOR cur_obj IS
      3  SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE
      4  FROM user_arguments ua
      5   join user_objects uo
      6  on ua.object_id=uo.object_id
      7  WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
      8  BEGIN
      9  FOR rec_obj IN cur_obj LOOP
     10  dbms_output.put_line('OBJECT_NAME:'||rec_obj.object_name||' '||'ARGUMENT_NAME:'||' '||rec_obj.a
    rgument_name||' '||'OBJECT_TYPE:'||rec_obj.data_type);
     11  END LOOP;
     12  END;
     13
     14
     15  .
    SQL> /
    OBJECT_NAME:GETUSERORDERCOUNT ARGUMENT_NAME:  OBJECT_TYPE:NUMBER
    OBJECT_NAME:GETUSERORDERCOUNT ARGUMENT_NAME: REGKEY OBJECT_TYPE:NUMBER
    OBJECT_NAME:GETUSERORDERCOUNT ARGUMENT_NAME: PARTNERKEY OBJECT_TYPE:NUMBER
    OBJECT_NAME:GSK_ACCOUNT_FIRSTADDRESS ARGUMENT_NAME:  OBJECT_TYPE:NUMBER
    OBJECT_NAME:GSK_ACCOUNT_FIRSTADDRESS ARGUMENT_NAME: ACCOUNT_KEY
    OBJECT_TYPE:NUMBER
    OBJECT_NAME:SUMCONCAT ARGUMENT_NAME:  OBJECT_TYPE:VARCHAR2
    OBJECT_NAME:SUMCONCAT ARGUMENT_NAME: INPUT OBJECT_TYPE:VARCHAR2
    OBJECT_NAME:GSK_PB_SHOW ARGUMENT_NAME:  OBJECT_TYPE:NUMBER
    ...........
    

    Kind regards
    Claudy K

  • To export the schema error in 4.1.0.881

    When I export a report schema design, I get the errors below.

    2015-05-19 11:11:27, 993 [main] INFO ApplicationView - Data Modeler Oracle SQL Developer 4.1.0.881

    2015-05-19 11:11:50, 635 [Thread 23] ERROR ReportsHandler - Error exporting to the schema declaration:

    java.lang.RuntimeException: rdbmsName not known: SQL Server 2012

    at oracle.dbtools.crest.model.design.LogicalDatatype.createDataType(LogicalDatatype.java:83)

    at oracle.dbtools.crest.exports.reports.RSLogicalTypes.export(RSLogicalTypes.java:69)

    at oracle.dbtools.crest.exports.reports.ReportsHandler.export(ReportsHandler.java:107)

    to oracle.dbtools.crest.swingui.ControllerApplication$ ExportToReportsSchema$ 1.run(ControllerApplication.java:2082)

    Is this a bug in the schema or the export code?

    Hello

    "probably you have set up a directory in ' Preferences > data modelling '-'directory of system data types. You must copy this file types.xml of datamodeler\datamodeler\types DM 4.1.0.881 Directory directory installation.

    Philippe

  • When I run the "@ddl_setup.sql" on a node of the 11gr2rac getting errors

    I want to open DDL replicate of the source node, so I run

    SQL > @marker_setup

    Marker setup script

    You will be asked the name of a schema for Oracle GoldenGate database objects.

    NOTE: The schema must be created before running this script.

    NOTE: Stop all replication DDL before starting this installation.

    Enter the Oracle GoldenGate name schema: ogg

    Table marker installation script is completed, run the script to check...

    Please enter the name of a schema for GoldenGate database objects:

    Name of schema setting for OGG

    MARKER TABLE

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

    Ok

    SEQUENCE MARKER

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

    Ok

    When I run the "@ddl_setup.sql" on a node of the 11gr2rac getting errors

    SQL > @ddl_setup.sql

    Configure Oracle GoldenGate DDL replication script

    Verify that the current user has privileges to install the DDL replication...

    You will be asked the name of a schema for Oracle GoldenGate database objects.

    NOTE: For a source of Oracle 10 g, the basket of the system must be disabled. For Oracle 11 g and later, it can be activated.

    NOTE: The schema must be created before running this script.

    NOTE: Stop all replication DDL before starting this installation.

    Enter the Oracle GoldenGate name schema: ogg

    Working, please wait...

    Line to the ddl_setup_spool.txt file

    Checking the sessions that hold locks on the tables of metadata Oracle Golden Gate...

    Full version.

    Using OGG as Oracle GoldenGate scheme a name.

    Working, please wait...

    Script of DDL replication configuration has completed, run the script to check...

    Please enter the name of a schema for GoldenGate database objects:

    Name of schema setting for OGG

    CLEAR_TRACE STATUS:

    Error on line/pos

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

    No error no error

    CREATE_TRACE STATUS:

    Error on line/pos

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

    No error no error

    TRACE_PUT_LINE STATUS:

    Error on line/pos

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

    No error no error

    INITIAL_SETUP STATUS:

    Error on line/pos

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

    No error no error

    STATUS OF THE DDLVERSIONSPECIFIC PACKAGE:

    Error on line/pos

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

    No error no error

    STATUS OF THE DDLREPLICATION PACKAGE:

    Error on line/pos

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

    No error no error

    DDLREPLICATION STATE OF PACKAGE BODY:

    Error on line/pos

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

    1453/9 PL/SQL: statement ignored

    1455/23 PL/SQL: ORA-00942: table or view does not exist

    1464/9 PL/SQL: statement ignored

    1466/23 PL/SQL: ORA-00942: table or view does not exist

    1478/9 PL/SQL: statement ignored

    1480/23 PL/SQL: ORA-00942: table or view does not exist

    1485/9 PL/SQL: statement ignored

    1487/23 PL/SQL: ORA-00942: table or view does not exist

    1492/9 PL/SQL: statement ignored

    1494/23 PL/SQL: ORA-00942: table or view does not exist

    1499/9 PL/SQL: statement ignored

    Error on line/pos

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

    1501/23 PL/SQL: ORA-00942: table or view does not exist

    1581/4 PL/SQL: statement ignored

    1582/18-PL/SQL: ORA-00942: table or view does not exist

    1584/4 PL/SQL: statement ignored

    1585/18-PL/SQL: ORA-00942: table or view does not exist

    1600/25 PL/SQL: ORA-00942: table or view does not exist

    1600/4 PL/SQL: statement ignored

    1602/25 PL/SQL: ORA-00942: table or view does not exist

    1602/4 PL/SQL: statement ignored

    DDL IGNORE TABLE

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

    FAILURE: The Table does not exist

    DDL IGNORED THE JOURNAL TABLE

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

    FAILURE: The Table does not exist

    STATUS OF THE DDLAUX PACKAGE:

    Error on line/pos

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

    No error no error

    DDLAUX STATE OF PACKAGE BODY:

    Error on line/pos

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

    0/0 PL/SQL: analysis of completed Compilation unit

    1/21 PLS-00304: impossible to compile a body of 'DDLAUX' without sound

    specification of the

    1/21 PLS-00905: OGG object. DDLAUX is not valid

    SYS. STATUS OF THE DDLCTXINFO PACKAGE:

    Error on line/pos

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

    No error no error

    SYS. DDLCTXINFO STATE OF PACKAGE BODY:

    Error on line/pos

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

    No error no error

    DDL HISTORY TABLE

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

    FAILURE: The Table does not exist

    DDL HISTORY TABLE (1)

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

    FAILURE: The Table does not exist

    DUMP DOF TABLES

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

    FAILURE: The Table does not exist

    COLUMNS OF DUMP DDL

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

    FAILURE: The Table does not exist

    GROUPS OF LOG DUMP DDL

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

    FAILURE: The Table does not exist

    SCORES OF DUMP DDL

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

    FAILURE: The Table does not exist

    DDL DUMP KEY PRIMARIES

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

    FAILURE: The Table does not exist

    SEQUENCE OF the DDL

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

    FAILURE: The sequence does not exist

    GGS_TEMP_COLS

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

    FAILURE: The Table does not exist

    GGS_TEMP_UK

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

    FAILURE: The Table does not exist

    STATE OF THE DDL TRIGGER CODE:

    Error on line/pos

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

    126/9 PL/SQL: statement ignored

    128/23 PL/SQL: ORA-00942: table or view does not exist

    133/21 PL/SQL: ORA-02289: sequence does not exist

    133/5 PL/SQL: statement ignored

    657/14 PLS-00905: OGG object. DDLAUX is not valid

    657/5 PL/SQL: statement ignored

    919/25 PL/SQL: ORA-00942: table or view does not exist

    919/4 PL/SQL: statement ignored

    DDL TRIGGER SYSTEM STATUS

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

    Ok

    STATUS OF RACE DDL TRIGGER

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

    ACTIVE

    OF "OGG". "" GGS_SETUP ".

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    OF "OGG". "" GGS_SETUP ".

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    OF "OGG". "" GGS_SETUP ".

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    LOCATION OF THE TRACE OF DDL FILE

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

    /Home/data/app/Oracle/diag/RDBMS/AppStore/appstore2/trace/ggs_ddl_trace.log

    Analyze the status of the installation...

    THE STATE OF REPLICATION DDL

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

    ERRORS in the installation of software components of DDL replication (6)

    Complete script.

    I had been struggling with the same problem for 2 days. You run the script as sysdba, how do you get the error then insufficient? I did my first test GG in February. I've been on 11.2.0.3 + patch January + patch for the integrated capture. It has worked well for me. I went back to my GG test week with 11.2.0.3 + patch of July last and ran into the same problem. The solution for me was the last version of GG. See my previous post for the patch numbers.

    Post edited by: ursusca

  • PL/SQL cursor loop... error IN the necessary clause... but several lines

    Oracle 11 g 2 Linux x86_64

    Hi all


    I do turn the PL/SQL block below, but get the error below. I know, the INTO clause can be used only when a single line will be returned. In this case, I know that it returns multiple lines, so why he asked to use the INTO clause?

    DECLARE

    v_object VARCHAR2 (10): = "TABLE";

    v_schema VARCHAR2 (30): = 'TEST ';

    CURSOR tblsze_cur IS

    SELECT table_name

    FROM dba_tables

    Owner WHERE = 'TEST '.

    AND (IN) table_name

    "T1"

    "T2."

    "T3");

    BEGIN

    FOR tbl_rec IN tblsze_cur

    LOOP

    Select * from

    Table (dbms_space. OBJECT_GROWTH_TREND

    (v_schema, tbl_rec.table_name, v_object)) ;

    END LOOP;

    END;

    /

    Select * from table (dbms_space. OBJECT_GROWTH_TREND

    *

    ERROR at line 21:

    ORA-06550: line 21, column 3:

    PLS-00428: an INTO clause in this SELECT statement

    It would be something more like this (untested)...

    Set serverout on

    create type object_growth_trend_row as object)
    validating TIMESTAMP,
    space_usage NUMBER,
    space_alloc NUMBER,
    quality VARCHAR (20))
    /

    Create type object_growth_trend_table as table of the object_growth_trend_row
    /

    DECLARE
    number of r;
    We varchar2 (30): = 'SCOTT ';
    TYPE nmtbl IS TABLE OF THE all_tables.table_name%TYPE;
    tNom nmtbl;
    tgrowth object_growth_trend_table;
    CURSOR c1 IS
    SELECT table_name
    From all_tables
    Owner WHERE we =
    AND table_name in ('EMP', 'Department');
    growth of cursor (tablename in varchar2) is
    Select *.
    table (dbms_space.object_growth_trend (tablename, 'TABLE'));
    BEGIN
    OPEN c1;
    FETCH c1 COLLECT LOOSE tNom;
    CLOSE c1;
    BECAUSE me IN tNom. FIRST... tNom. LAST
    LOOP
    r: = 0;
    dbms_output.put_line (' growth for table: ' | tname (i));
    FOR g IN growth (tname (i))
    LOOP
    r: = r + 1;
    dbms_output.put_line ('Timestamp: ' | g.timePoint |') Use: ' | g.space_usage);
    END LOOP;
    DBMS_OUTPUT. Put_line (' found lines: ' | r);
    END LOOP;
    END;
    /

    I just tested this in my SYS schema (although you should not create objects in SYS.)  and got...

    For table growth: EMP

    EXCEPTION in the treatment of the Charles - code:-14551 msg: ORA-14551: cannot perform a DML operation inside a query

    Timestamp: 3 July 13 09.15.27.250000 use: 5332

    Found lines: 1

    For table growth: DEPT

    EXCEPTION in the treatment of the Charles - code:-14551 msg: ORA-14551: cannot perform a DML operation inside a query

    Timestamp: 3 July 13 09.15.27.282000 use: 4846

    Found lines: 1

    Not sure why it's up the DML operation... which seems inner exception to the dbms_space package.  Even if I just run it directly in sys like this:

    SQL > SELECT *.
    2. IN the TABLE (dbms_space.object_growth_trend ('SYS', ' $', TAB 'TABLE'));

    AFTER SPACE_USAGE SPACE_ALLOC QUALITY
    --------------------------------------------------------------------------- ----------- ----------- --------------------
    3 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED


    4 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    JULY 5, 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    6 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    7 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    8 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    9 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    10 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    JULY 11, 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    12 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    13 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    14 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    15 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    16 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    17 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    18 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    19 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    20 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    21 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    22 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    23 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    24 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    25 JULY 13 09.19.01.956000 10342201 24117248 INTERPOLATED
    26 JULY 13 09.19.01.956000 10342201 24117248 GOOD
    27 JULY 13 09.19.01.956000 10342201 24117248 GOOD
    28 JULY 13 09.19.01.956000 10342201 24117248 GOOD
    29 JULY 13 09.19.01.956000 10342201 24117248 GOOD
    30 JULY 13 09.19.01.956000 10342201 24117248 GOOD
    31 JULY 13 09.19.01.956000 10342201 24117248 GOOD
    1ST AUGUST 13 09.19.01.956000 10342201 24117248 GOOD
    2 AUGUST 13 09.19.01.956000 10342201 24117248 GOOD
    3 AUGUST 13 09.19.01.956000 10342201 24117248 PLANNED
    4 AUGUST 13 09.19.01.956000 10342201 24117248 PLANNED
    5 AUGUST 13 09.19.01.956000 10342201 24117248 PLANNED
    6 AUGUST 13 09.19.01.956000 10342201 24117248 PLANNED
    7 AUGUST 13 09.19.01.956000 10342201 24117248 PLANNED

    36 selected lines.

    EXCEPTION in the treatment of the Charles - code:-14551 msg: ORA-14551: cannot perform a DML operation inside a query

    ... She still throws the exception.

    Doesn't seem like a package of well designed if the types are provided only in the package and not as objects of database, which are required to be used in SQL based in pipeline.

  • SQL error in the preparation of the statement, need help on coding review.

    I'm analyzing a parameter to the SQL of VO statement using setWhereClause. (the idea was copied from various sources)
    However, I keep getting following error.

    The exception message, it seems that the SQL statement is bad. I also tried a different combination of the establishment where clause with no luck.

    I use a wrong code? or is there something missing?

    ======================================================================
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement. Statement: SELECT * FROM (SELECT SalAuditEO.AUDIT_TIMESTAMP,
    SalAuditEO.AUDIT_TRANSACTION_TYPE,
    SalAuditEO.AUDIT_USER_NAME,
    SalAuditEO.AUDIT_TRUE_NULLS,
    SalAuditEO.AUDIT_SESSION_ID,
    SalAuditEO.AUDIT_SEQUENCE_ID,
    SalAuditEO.AUDIT_COMMIT_ID,
    SalAuditEO.PAY_PROPOSAL_ID,
    SalAuditEO.CHANGE_DATE,
    SalAuditEO.PROPOSED_SALARY,
    SalAuditEO.PROPOSED_SALARY_N,
    SalAuditEO.ROWID,
    PPP. ASSIGNMENT_ID
    OF HUMAN RESOURCES. PER_PAY_PROPOSALS_A SalAuditEO,
    GRA PER_PAY_PROPOSALS PPP
    WHERE PPP. PAY_PROPOSAL_ID = SalAuditEO.PAY_PROPOSAL_ID) WHERE QRSLT (and assignment_id =: 1).
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2084)
    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processRequest(OATableBean.java:1034)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
    in OA. jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail
    java.sql.SQLException: ORA-00936: lack of expression

    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4507)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at assembly.oracle.apps.cssm.saladmin.schema.server.SalAuditVOImpl.initQuery(SalAuditVOImpl.java:21)
    at assembly.oracle.apps.cssm.saladmin.schema.server.SalAuditAMImpl.initDetails(SalAuditAMImpl.java:49)
    at assembly.oracle.apps.cssm.saladmin.schema.server.webui.SalAuditCO.processRequest(SalAuditCO.java:50)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2084)
    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processRequest(OATableBean.java:1034)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
    in OA. jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-00936: lack of expression

    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4507)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at assembly.oracle.apps.cssm.saladmin.schema.server.SalAuditVOImpl.initQuery(SalAuditVOImpl.java:21)
    at assembly.oracle.apps.cssm.saladmin.schema.server.SalAuditAMImpl.initDetails(SalAuditAMImpl.java:49)
    at assembly.oracle.apps.cssm.saladmin.schema.server.webui.SalAuditCO.processRequest(SalAuditCO.java:50)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2084)
    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processRequest(OATableBean.java:1034)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
    in OA. jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)

    ======================================================================

    VO query: (tested OK)
    SELECT SalAuditEO.AUDIT_TIMESTAMP,
    SalAuditEO.AUDIT_TRANSACTION_TYPE,
    SalAuditEO.AUDIT_USER_NAME,
    SalAuditEO.AUDIT_TRUE_NULLS,
    SalAuditEO.AUDIT_SESSION_ID,
    SalAuditEO.AUDIT_SEQUENCE_ID,
    SalAuditEO.AUDIT_COMMIT_ID,
    SalAuditEO.PAY_PROPOSAL_ID,
    SalAuditEO.CHANGE_DATE,
    SalAuditEO.PROPOSED_SALARY,
    SalAuditEO.PROPOSED_SALARY_N,
    SalAuditEO.ROWID,
    PPP. ASSIGNMENT_ID
    OF HUMAN RESOURCES. PER_PAY_PROPOSALS_A SalAuditEO,
    HR. PER_PAY_PROPOSALS PPP
    WHERE PPP. PAY_PROPOSAL_ID = SalAuditEO.PAY_PROPOSAL_ID



    Co:

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {

    super.processRequest (pageContext, webBean);

    SalAuditAM am = (SalAuditAM) pageContext.getApplicationModule (webBean) .findApplicationModule ("SalAuditAM"

    String str1 = (String) pageContext.getSessionValue ("PerSalAssgtId");
    am.initDetails (str1);

    ................



    Am:

    public void initDetails (String employeeNumber)
    {

    SalAuditVOImpl vo = getSalAuditVO1();
    vo.initQuery (employeeNumber);
    }



    Vo:

    public void initQuery (String paramString)
    {
    super.setWhereClause ("and assignment_id =: 1");
    super.setWhereClauseParam (0, paramString);
    super.executeQuery ();
    }

    Hello

    Copy the following code

    public void initQuery (String paramString)
    {
    setWhereClause ("ASSIGNMENT_ID =: 1");
    setWhereClauseParams (null);
    setWhereClauseParam (0, paramString);
    executeQuery();
    }

    Thank you
    Gerard

  • With the help of TestStand to get the number of errors from a device

    I use TestStand to communicate with a device that tests itself. TS has just appealed a DLL which, through a channel series learns how many errors the device had for each test (such as ethernet). It must be continuously for each test for approximately 3 days. While I realize that this is not the way that TS is supposed to work, due to the end already be finished I just simple settle.

    My question is:

    What is the best way to organize the test steps (calls DLL that returns the number of errors) and the results? I looked at just looping through a test sequence, but this would result in millions of individual results altogether? Is there a way to update the same result for a stage, when it is called 1000 times?

    Thank you

    Add each error to a variable in a loop that runs for 3 days. Save the variable data to the report at the end.

  • TestStand 4.2 string not found error in the language resource files

    I installed the TestStand 4.2 on two Windows XP computers.  On a machine it worked fine first time. On the other machine, I get the following message if poster in the login box and also in the component models: ' String not found in language resource files. "I tried uninstalling and reinstalling TestStand twice but you still get this error.  This error is preventing me from being able to log in as administrator, so I am unable to use TestStand 4.2. I understand that these language resource files are supplied by the installer, but for some reason, it seems that the machine with the error cannot locate these.

    The only difference between the two XP machines I can find is the location of user profiles.  I note that on versions of TestStand compatible Vista, that TestStand user settings are stored in C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2\Components on XP machines.  On the XP machine with the error all the user profiles are stored in C:\profiles, instead of C:\Documents and Settings.  This is the standard profile used by our company so I am not able to change that. TestStand Setup recognizes this and install for C:\profliles\All Users\Documents\National Instruments\TestStand 4.2\ TestStand user parameters.  Does anyone know if the location of user profiles is important, or if there is another cause of this error?

    Kind regards

    David

    David-

    The cause of the channels being found is probably at the first launch of TS, the language files are not found. The language files contain default values, and these values are kept as actual values during the recording of the configuration files. For example, the default administrator name and the default folders in the Insert palette. I would recommend that you delete the file Users.ini and Templates.ini in the configuration directory and this should address your current behavior. I don't know why the connection appeared a problem because I was able to use the blank password on the user 'String not found in language resource files. If you still have problems with the connection, let us know.

    You remember something unique about how you came to this situation that caused this to happen?

  • Installation of the Microsoft SQL Server 2005 Express Edition (KB955706) code error 0x2B2F

    I am trying to install an update on a desktop HP for Microsoft SQL Server 2005 Express Edition (KB955706).  It has downloaded everything and still not settle.  It gives the error code is 0x2B2F.  I searched this error on the microsoft website and nothing came.  Any help would be appreciated.

    Hello nesbitzero,

    Thank you for using Microsoft Windows forum.

    You receive the 0x2b2f error code when you use the web sites, Windows Update or Microsoft Update to install SQL Server 2005 Service Pack 3 on a computer with MSXML6 Service Pack 2 is already installed.
     
    Follow this link for the reasons: http://support.microsoft.com/kb/970674

    You must first try and reset Windows Update components to eliminate the
    KB955706 update for SQL server.

    Follow the link for what has a fixit: http://support.microsoft.com/kb/971058

    After reset, try to install it once more to check if the problem persists.

    If this is the case, install the update mode safe

    Follow the steps below to start in safe mode with networking:

    1. reboot your computer and start pressing F8 on your keyboard. On a computer that is configured to start to multiple operating systems, you can press the F8 key when the Boot Menu appears.
    2. Select networking in Mode safe mode when the Windows Advanced Options menu is displayed and press ENTER

    In Safe Mode, download and install the stand-alone package for the Microsoft SQL Server 2005 Service Pack 3 on the site: https://www.microsoft.com/downloads/details.aspx?FamilyID=ae7387c3-348c-4faa-8ae5-949fdfbe59c4&displaylang=e

    Note: It is recommended that you temporarily disable the antivirus before installing the update.
     
    Follow the steps in the link below for "SQL Server 2005 Setup fails when MSXML Core Services 6.0 Service Pack 2 has been installed"
    http://support.Microsoft.com/kb/968749

    See: http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/e78198b7-324f-4775-85bd-83ce5af4affc for the exact number.

    For more information, see: http://social.msdn.microsoft.com/Forums/en-US/category/sqlserver/

    Kind regards
    Aziz Nadeem - Microsoft Support

  • Error - ' Manager of power strategy cannot set the regime... two revision levels are incompatible "when trying to save the scheme in power options.

    Original title: cannot set a power scheme in Power Options

    Cannot set a power scheme. When I try to save the scheme, "Manager power strategy impossible to define the... two revision levels are incompatible."

    How can I fix it?

    Hi BernieHopkins,

    1 have you properly previously defined the power scheme?

    2 have you made any hardware changes or software on the computer before this problem?

    3. What is the full error message that you receive?

    If you receive the same error as mentioned in this link, you can follow this link & check if the problem persists.

    Error message: Power Manager political unable to define a strategy. Indicates two revision levels are incompatible

    Hope the helps of information.
    Please post back and we do know.

Maybe you are looking for