SQLCode - 1: Table '_^_^_22072007....._^_^_' not found

This error occurs when inserting rows into a table which has dependant materialized view in SQLA12 db (see attached image for full details).
Any ideas on why this is happening?
This happens on 1 or 2 databases, the rest (90+) is working great.
This is databases which started out as ASA5.5 db's once upon a time.
Otherwise, everything works as it should.

Hi Jeff!
This error occurs when we are running simple INSERT or UPDATE statement against one of the tables with dependency to the materialized view in PowerBuilder embedded SQL statement.
There are also triggers on at least one of the tables, so perhaps the combination can be the issue here?
This is the definition for the line-view:
ALTER VIEW "MTS"."WV730PrognoseSalgsLinjer" as
    select
    w733prognosesalg.klientnr,
    w733prognosesalg.uttakstype,
    w733prognosesalg.uttaksnr,
    w733prognosesalg.vareanr,
    cast(0 as decimal(10,3)) as pris,
    0 as lagerkvantum,
    0 as lagerantall,
    sum(totkvant) as prognosekvantum,
    sum(antall) as prognoseantall,
    sm002vare.hkode,
    sm002vare.beskrivelse,
    w733prognosesalg.ValPris,
    null as TollPr
    from
    w729salgshode
    join w733prognosesalg on w733prognosesalg.klientnr=w729salgshode.klientnr and w733prognosesalg.uttakstype=w729salgshode.uttakstype and w733prognosesalg.uttaksnr=w729salgshode.uttaksnr
        join sm002vare on sm002vare.klientnr=w733prognosesalg.klientnr and sm002vare.vareanr=w733prognosesalg.vareanr
    where
    w729salgshode.status = 0 and
    w729salgshode.uttakstype = 'SA' and
    w729salgshode.salgstype = 6
    group by
    w733prognosesalg.klientnr,
    w733prognosesalg.uttakstype,
    sm002vare.beskrivelse,
    sm002vare.hkode,
    w733prognosesalg.vareanr,
    pris,
    w733prognosesalg.uttaksnr,
    w733prognosesalg.ValPris
    union
    select
    wmv730salgslinje.klientnr,
    wmv730salgslinje.uttakstype,
    wmv730salgslinje.uttaksnr,
    wmv730salgslinje.vareanr,
    wmv730salgslinje.pris,
    sum(totkvant) as lagerkvantum,
    sum(antall) as lagerantall,
    0 as prognosekvantum,
    0 as prognoseantall,
    sm002vare.hkode,
    sm002vare.beskrivelse,
    wmv730salgslinje.valpris as ValPris,
    wmv730salgslinje.tollpr as TollPr
    from
    w729salgshode
    join wmv730salgslinje on wmv730salgslinje.klientnr=w729salgshode.klientnr and wmv730salgslinje.uttakstype=w729salgshode.uttakstype and wmv730salgslinje.uttaksnr=w729salgshode.uttaksnr
    join sm002vare on sm002vare.klientnr=wmv730salgslinje.klientnr and sm002vare.vareanr=wmv730salgslinje.vareanr
    where
    w729salgshode.status = 0 and
    w729salgshode.uttakstype = 'SA' and
    w729salgshode.salgstype = 6
    group by
    wmv730salgslinje.klientnr,
    wmv730salgslinje.uttakstype,
    sm002vare.beskrivelse,
    sm002vare.hkode,
    wmv730salgslinje.vareanr,
    wmv730salgslinje.pris,
    wmv730salgslinje.uttaksnr,
    wmv730salgslinje.valpris,
    wmv730salgslinje.tollpr
    union
    select
    w770uttaksbestilling.klientnr,
        w770uttaksbestilling.uttakstype,
        w770uttaksbestilling.uttaksnr,
        w770uttaksbestilling.vareanr,
        cast(0 as decimal(10,3)) as pris,
        0 as lagerkvantum,
        0 as lagerantall,
        sum(kvantum) as prognosekvantum,
        sum(antall) as prognoseantall,
        sm002vare.hkode,
        sm002vare.beskrivelse,
        null as ValPris,
        null as TollPr
    from
        W729Salgshode
    join w770uttaksbestilling on w770uttaksbestilling.klientnr=w729salgshode.klientnr and w770uttaksbestilling.uttakstype=w729salgshode.uttakstype and w770uttaksbestilling.uttaksnr=w729salgshode.uttaksnr
        join sm002vare on sm002vare.klientnr=w770uttaksbestilling.klientnr and sm002vare.vareanr=w770uttaksbestilling.vareanr
    where
        w729salgshode.status = 0 and
        w729salgshode.uttakstype = 'SA' and
        w729salgshode.salgstype = 6 and
        not exists(select 1 from W733PrognoseSalg as x where x.KlientNr=w770uttaksbestilling.KlientNr and x.UttaksType=w770uttaksbestilling.UttaksType and x.UttaksNr=w770uttaksbestilling.UttaksNr)
    group by
    w770uttaksbestilling.klientnr,
    w770uttaksbestilling.uttakstype,
    sm002vare.beskrivelse,
    sm002vare.hkode,
    w770uttaksbestilling.vareanr,
    pris,
    w770uttaksbestilling.uttaksnr;
And this is the definition for the other view which is referred:
CREATE MATERIALIZED VIEW "MTS"."WMV730SalgsLinje"
    AS
    select
    w730salgslinje.klientnr,
    w730salgslinje.uttakstype,
    w730salgslinje.uttaksnr,
        w730salgslinje.w730lnr,
    w730salgslinje.vareanr,
    w730salgslinje.pris,
    w730salgslinje.totkvant,
    w730salgslinje.antall,
    0 as prognosekvantum,
    0 as prognoseantall,
    sm002vare.hkode,
    sm002vare.beskrivelse,
    w730salgslinje.valpris as ValPris,
    w730salgslinje.tollpr as TollPr
    from
    w729salgshode
    join w730salgslinje on w730salgslinje.klientnr=w729salgshode.klientnr and w730salgslinje.uttakstype=w729salgshode.uttakstype and w730salgslinje.uttaksnr=w729salgshode.uttaksnr
    join sm002vare on sm002vare.klientnr=w730salgslinje.klientnr and sm002vare.vareanr=w730salgslinje.vareanr
    where
    w729salgshode.status = 0 and
    w729salgshode.uttakstype = 'SA' and
    w729salgshode.salgstype = 6;
The weird thing is that all these views are in use for all of our installations, but fails only on 1 database. All other databases acts normal.
I think I can provide the database if that's needed.
Regards,
Bjarne Anker
Maritech Systems AS
Norway

Similar Messages

  • Cannot join tables used in the workbook. Join "" not found in the EUL. Atte

    Trying to migrate workbooks from one instance to other using discoverer 10.1.2.48.18 i am getting the following error
    Unable to open the worksheet requested.
    - OracleBI Discoverer was unable to find the worksheet that was requested.
    - BIB-10310 An unknown exception occurred.
    - Cannot join tables used in the workbook. Join "" not found in the EUL. Attempt to open workbook failed.
    but its fine one instance , and in prod i am getting above weird error.
    does anybody know how to rectify this.

    Note:267476.1 - for those who can't get into metalink but still need to know the answer
    Subject: Discoverer Workbook Fails With 'Cannot join tables.Item dependency "" not found in EUL' After EUL Migration, Importing Or Cloning
    Doc ID:      Note:267476.1      Type:      PROBLEM
    Last Revision Date:      28-APR-2005      Status:      PUBLISHED
    The information in this document applies to:
    Oracle Discoverer - Version: 4.1 to 10.1
    This problem can occur on any platform.
    Symptoms
    Opening a workbook migrated from one instance to another results in the following errors:
    * Unable to load EUL item ...
    * Cannot join tables. Item dependency "" not found in EUL.
    * Illegal operation... DIS4USR OR DIS5USR caused an invalid page fault in module....
    If using the workbook dump utility, you may notice:
    * Found in EUL by id *** Name has changed to .. where the new name is really the wrong column
    It seems that items are matched by internal item identifiers (IDs) and not by developer keys and names.
    Changes
    Migrating from one environment to another. For example, you may have performed a database export / import of the EUL schema from DEV to TEST
    Cause
    The timestamp is the same for both EULs, what can be confirmed by the following SQL statement:
    * Discoverer 4:
    SQL> select ver_eul_timestamp from eul4_versions;
    * Discoverer 9.0.2 , 9.0.4, 10.1 the script is:
    SQL> select ver_eul_timestamp from eul5_versions;
    If the result of the sql output is the same in both EULs, it means that timestamp of both EULs are the same. Discoverer assumes that the EUL are exactly the same (e.g. this can happedn when one of them is created with export/import of the other EUL schema using database export/import utilities) and this is the reason it tries to match items by identifiers and not by developer keys or names.
    Solution
    Change the column ver_eul_timestamp in the eul4_versions (4.1) or eul5_versions(9.0.2 - 10.1)tables to be something different in the destination EUL. The format of this column is like year:month:day:seconds:milliseconds
    Example:
    * Discoverer 4.1:
    sql> update EUL4_VERSIONS set VER_EUL_TIMESTAMP =TO_CHAR(SYSDATE, 'YYYYMMDDHH24MISS');
    sql> commit;
    * Discoverer 9.0.2:
    SQL> update EUL5_VERSIONS set VER_EUL_TIMESTAMP = TO_CHAR(SYSDATE, 'YYYYMMDDHH24MISS');
    sql> commit;
    * Discoverer 9.0.4 -10.1:
    Run the script: EUL5_id.sql as the eulowner ID
    o For 9.0.4 -- This is found on a PC with the Discoverer Administrator installed in drive:\Oracle Home\discoverer\sql
    o For 10.1.0 -- This is found on a PC with the Discoverer Administrator installed in drive:\Oracle Home\discoverer\util
    This is documented in:
    Oracle® Business Intelligence Discoverer
    Administration Guide
    10g Release 2 (10.1.2.0.0)
    Part No. B13916-02
    http://download.oracle.com/docs/pdf/B13916_02.pdf
    Chapter 4 "About copying EULs and EUL objects by exporting and importing"
    Oracle® Discoverer Administrator
    Administration Guide
    10g (9.0.4)
    Part No. B10270-01
    http://download.oracle.com/docs/pdf/B10270_01.pdf
    Chapter 3 "About copying EULs and EUL objects by exporting and importing"
    References
    Bug 3202329 - Migrating Workbooks Between Instances Shows Incorrect Column

  • Update -Graph and Pivot Table model.DataControls.dcx of type null not found

    Now Solved.
    I upgraded to the new Jdeveloper release and the Preview works.
    Update
    I created a new application and the graphs work ok.
    Now, why in my current project won't the graphs work???
    Chuck
    This just occured today 6/22/09.
    When ever I preview a graph or pivot table i receive this message:
    oracle.jbo.NoDefException: JBO-25002: Definition model.DataControls.dcx of type null not found
    I drop the query on a form as a table and it works fine.
    I have used Graphs before, and ahve never recieved this error.
    I just remenbered, I was using the previous release of Jdeveloper when I built the graphs.
    Probably nothing !!
    In the developers manual this message is mentioned:
    +29.3 Correcting Simple Oracle ADF Runtime Errors+
    Failures of the Oracle ADF Model layer cannot be detected by the JDeveloper
    compiler, in part because the page’s data-display and method-execution behavior
    relies on the declarative Oracle ADF page definition files. The Oracle ADF Model layer
    utilizes those declarative files at runtime to create the objects of the Oracle ADF
    binding container.
    To go beyond simple schema validation, you will want to routinely run and test your
    web pages to ensure that none of the following conditions exists:
    +■ The project dependency between the data model project and the user interface+
    project is disabled.
    By default, the dependency between projects is enabled whenever you create a
    web page that accesses a data control in the data model project. However, if the
    dependency is disabled and remains disabled when you attempt to run the
    application, an internal servlet error will be generated at runtime:
    oracle.jbo.NoDefException: JBO-25002: Definition
    model.DataControls.dcx of type null not found
    To correct the error, double-click the user interface project, and select the
    Dependencies node in the dialog. Make sure that the ModelProjectName.jpr
    option appears selected in the panel.
    I checked and the model.jpr is there.
    I re-installed jdeveloper but the same error occurs.
    I have no idea on how to proceed.
    Chuck
    Edited by: user634580 on Jun 24, 2009 11:59 AM
    Edited by: user634580 on Jun 24, 2009 12:02 PM
    Edited by: user634580 on Jul 4, 2009 8:23 AM

    Well, Shay
    I search my entire C drive for datacontrol.dcx and *.dcx and no files found.
    I am usiing ADF.
    The new application that I created that works in preview does not have this file.
    I unstalled jdeveloper, downloaded a new copy, deleted Oracle directory, installed jdeveloper and results are the same.
    Is the datacontrol.dcx file the same as the "datacontrol in the Data Controls Folder "?
    The datacontrol is present the Data Controls Folder (model.jpr model.appmodule)
    There are 3 messages in the log pertaining to DVT listed below.
    **WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at*** zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Jun 26, 2009 7:53:29 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Jun 26, 2009 7:53:29 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    A

  • Cannot join tables used in the workbook. Join "" not found in the EUL

    Does anybody have any idea on this error?
    We are getting it from our new server. We exported and inported the EUL from the old server.
    Thanks,
    Dave

    I was just looking at the Disco Admin documentation on technet for version 9 to see if there's any major difference between v4, v9 and v10 and it looks about the same.
    If you're exporting from the Admin program directly then I assume you chose to export the entire EUL?
    I usually use the batch version (DOS) and I've cut the following text from the export command line as right at the top you can see how it's supposed to handle joins.
    Did you not receive any kind of warning when importing the .eex file (ie: something didn't exist for the join to resolve, etc)?
    Also, was this a new EUL or an existing one?
    If existing, did it warn you about a folder may already exist so it changed the name of the folder by appending a number (ie: _1)?
    ==========================================================
    /export (EUL objects)
    This command enables you to export EUL objects to a Discoverer export file (EEX file). You can selectively export individual EUL objects (e.g. folders, business areas, functions) or entire EULs (using the /all modifier). When you import multiple files, Discoverer automatically resolves references between the files. For example, you can export the Emp folder in fileA.eex and the Dept folder in fileB.eex. If Emp and Dept are joined, the join information will actually be in both files, but neither file contains the information for both folders. If you import both files, the join will be recreated when the second file is processed.
    Information Details
    Syntax:
    /export <filename> [<bus_area_name>]
    Or
    /export <filename> <modifier(s)> [identifier]
    Modifiers:
    "/all"
    /asm_policy <asm policy>
    "/audit_info" <audit details>
    "/business_area" <business area>
    "/external_element" <filename> (this filename refers to an xml file,
    not the export filename)
    "/folder" <folder>
    "/function" <function>
    "/hierarchy" <hierarchy>
    "/identifier"
    "/item_class" <item_class>
    "/log" <log file name> [log_only]
    "/summary" <summary>
    /set_created_by <creator name>
    /set_updated_by <updated name>
    "/show_progress"
    "/workbook" <workbook> [XML_workbook]
    "/xmlworkbook" (takes no parameters)
    Notes:
    <filename> - The name of the target *.EEX file. If a directory path is not specified, the target file is created in the default Discoverer folder. To override the default target directory setting, specify a directory path for the file, for example c:\data\sales.eex . Note that the directory path must be an absolute path, not a relative path.
    Wildcards are not allowed for parameters (e.g. business areas, folders) these must be named explicitly.
    [<bus_area_name>] - Use this option to export an entire business area and contents. If you only want to export the business area definition and metadata for the contents, use the /business_area modifier.
    When you export a business area using the /business_area modifier, Discoverer exports only business area definitions and links to the folders in the business area. Discoverer will export the folders and workbooks only when they are specified by name.
    <modifiers> - When specifying parameters, you can use either their Display Name or Identifier.
    To maintain data relationships, you must also export linked (or joined) objects.
    Example:
    To export two business areas named Test BA and Final BA, residing in an EUL named eul31, into a file named export.eex, and write to a log file named export.log, enter:
    dis5adm.exe /connect me/mypassword@database /export export.eex "Test BA, Final BA" /eul eul31 /log export.log
    Message was edited by:
    russ_proudman

  • Can't join tables.query dependency not found "" in EUL

    hi ALL,
    i created one report in disco 3.1.38 and its' running fine but after storing it in database and then again trying to open it from database it gives me error "can't join tables."name of query folder" dependency not found "" in EUL"
    if any one has come across such problem and has solution for it ..please reply back.
    thanks in anticipation
    manish

    Manish,
    I have not run into this error before and maybe one of the oracle consultants could answer this better. But I here it goes. I would first try a refresh on the folders that the report in question is using. Is it possible that the under lining tables have changed? Do you have another copy of the same report outside of the database and does it still work?
    Christopher

  • APEX - Can't "Create" table.  Get "Page Not Found Error"

    I am trying to create a table with Oracle's APEX (at apex.oracle.com). When I run through the wizard and final process asks me to hit "create", the frame should state "table created", but instead it says Page Not Found. I have tried restarting the browser and also moved to another computer to see if it was a settings issue, but still receive this. I have emailed Oracle about it, but have not heard back, so thought I'd try here.
    Thanks for any help in Advance.

    My first name is Tyler
    I sent my question to [email protected]
    My email address is [email protected], I used this when contacting oracle, I also contacted with [email protected]
    I tried creating the table through the wizard with just two columns, 1 number column and 1 varchar2() field. I did not create a pk or any constraints, to see if I could just get a bare minimum table created. Unsuccessfully.
    I tried using the create DDL script in the SQL command window in APEX, this also was unsuccessfull. It seems to hang for a couple of minutes, I assumed it was just taking a bit to execute the DDL. But when it "unhangs", the status window below says it's still "executing sql statment", but it does not do anything after that, it stays there.
    I went and checked if by chance the table had been created, but it hadn't.
    Thanks,
    Tyler

  • 10g - disconnected analytics - tables not found

    hi, experts,
    I installed disconnected analytics clients on a pc.
    downloaded the sawd.dad, setup the app and synchronized.
    I login the dashboard and then see this error.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S0002 code: -141 message: [Sybase][ODBC Driver][Adaptive Server Anywhere]Table 'TABLE_ABC' not found. [nQSError: 16014] SQL statement preparation failed. (HY000)
    however, I fount the .csv files are downloaded in the folder C:\OracleBIData\sync
    any missing steps?

    I checked the database error message
    Table ’%1’ not found
    Item Value
    SQLCODE -141
    Constant SQLE_TABLE_NOT_FOUND
    SQLSTATE 42W33
    Sybase error code 2706
    ODBC 2 State S0002
    ODBC 3 State 42S02
    Parameter 1 Name of the table that could not be found.
    You misspelled the name of a table, or you did not qualify a table name with
    a user name. For example, you might have referred to employee instead of
    "DBA".employee,
    what to do?

  • How to find the table name on which integrity constraint not found

    Hi All
    How to acheive this
    I have a lot of tables with lot of primary key - foreign key
    relationship.
    In plsql
    when any inserts happen in the child table & the corresponding row is not present in the parent table, we get an exception
    ORA-02291: integrity constraint (user1.ppk) violated - parent key not found
    On this exception , in the exception block i want to trap teh name of the parent table on which the primary key for the particular child table was not there
    Is it possible to retrieve the parent table in this way. I am looking for a generic plsql code block which can help to acheive this
    Regards

    scott@ORA92> SET SERVEROUTPUT ON
    scott@ORA92> DECLARE
      2    e_no_parent_key EXCEPTION;
      3    PRAGMA            EXCEPTION_INIT (e_no_parent_key, -2291);
      4    v_fk_cons       VARCHAR2 (61);
      5    v_owner            VARCHAR2 (30);
      6    v_parent_table  VARCHAR2 (61);
      7    v_pk_cons       VARCHAR2 (30);
      8    v_parent_column VARCHAR2 (30);
      9  BEGIN
    10    INSERT INTO emp (empno, deptno) VALUES (99, 60);
    11  EXCEPTION
    12    WHEN e_no_parent_key THEN
    13        -- extract schema.constraint_name from sqlerrm:
    14        v_fk_cons:= SUBSTR (SQLERRM,
    15                      INSTR (SQLERRM, '(') + 1,
    16                      INSTR (SQLERRM, ')') - (INSTR (SQLERRM, '(') + 1));
    17        DBMS_OUTPUT.PUT_LINE ('Foreign key constraint violated: ' || v_fk_cons);
    18        -- extract parent schema.table and parent key:
    19        SELECT owner, table_name, constraint_name
    20        INTO     v_owner, v_parent_table, v_pk_cons
    21        FROM     user_constraints
    22        WHERE     (owner, constraint_name) =
    23            (SELECT r_owner, r_constraint_name
    24             FROM     user_constraints
    25             WHERE     owner || '.' || constraint_name = v_fk_cons);
    26        DBMS_OUTPUT.PUT_LINE ('Parent table: ' || v_owner || '.' || v_parent_table);
    27        DBMS_OUTPUT.PUT_LINE ('Parent key: ' || v_owner || '.' || v_pk_cons);
    28        -- extract parent table columns:
    29        FOR rec IN
    30          (SELECT column_name
    31           FROM   user_cons_columns
    32           WHERE  owner = v_owner
    33           AND    table_name = v_parent_table
    34           AND    constraint_name = v_pk_cons)
    35        LOOP
    36          DBMS_OUTPUT.PUT_LINE
    37            ('Parent table column: ' || rec.column_name);
    38        END LOOP;
    39  END;
    40  /
    Foreign key constraint violated: SCOTT.FK_DEPTNO
    Parent table: SCOTT.DEPT
    Parent key: SCOTT.PK_DEPT
    Parent table column: DEPTNO
    PL/SQL procedure successfully completed.

  • All fields are not found in Table Maitainence Generator

    Hi all,
    I have create a table with ZPFT_TRAY with 6 fields and created table maitainence generator for the table.
    But when i check in SM30 i can see only 5 fields in Table maitainence generator.
    will anybody let me know why it is showing only five fields.
    Regards,
    Madhavi

    Hi madhavi,
    do one thing delete your old table maintenance generator and again create a new TMG , generate it properly and save it and then check in sm30. and if u have defined your own data element then fill the field label of that data element and activate ur table. because when ever you do any modification in your Ztable then you have to create again table maintenance generator othervise your modification will not reflect in sm30.
    hope this will help you.
    Regards
    Saurabh

  • PL/SQL Exception for ORA-00942 - Table or view not found?

    Hey there!
    I want to create an exception my code runs into whenever it tries to select from a table that is not existent (or because of insufficient privileges).
    How can I get these ORA-00942 errors and place them into a exception? Except for WHEN OTHERS, that's not concrete enough.
    Regards,
    Thomas

    SQL> DECLARE
      2   table_not_found EXCEPTION;
      3   PRAGMA EXCEPTION_INIT(table_not_found, -942);
      4  BEGIN
      5   EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM DUALX';
      6  EXCEPTION
      7   WHEN table_not_found
      8   THEN
      9      dbms_output.put_line('Table NOT found');
    10  END;
    11  /
    Table NOT found

  • Dump : Table not found in oracle database

    Hi,
    I am doing a program regarding analysis of tables belonging to archiving objects.In my program i am calling a RFC function module . 'DB02_ORA_TABLE_INDEX_ANALYSIS . But it is giving the dump for native sql statement .
    --- Oracle block size ----------------------------------------------
      exec sql.
        select value from v$parameter where name like 'db_block_size%'
               into :block_size
      endexec.
    Dump is table not found in database.
    Could please let me know what setting i am missing...
    Thanks in advance.....
    Sudhakar

    Hi,
    the view V$PARAMETER must be accessed through  SAP/Oracle Database Monitor lets you view the active Oracle database parameters and the contents of the init.ora file.
    Alternatively, you can use transaction st04.  You need to apply SAP Note 706927 before using the database monitor.
    Hope this information is help to you.
    Regards,
    José

  • Column not found error while populatin a oracle table with ODI USer

    Hi,
    I am trying to populate a column in a oracle table with the ODI USER name using the function getUser("USER_NAME") in the Mapping column of the Interface, But the interface throwhing an error *Column not found : Supervisor in Statement [Select......]*. but it's working fine with getUser("I_USER') the column is populating the user identifier.
    can any one help me out why user is not populating.
    Thanks

    Enclose the call to the getUser api inside single quotes
    '<%=getUser("USER_NAME")%>'ID being a number can be used directly but USER_NAME returns a string that needs to be quoted

  • "Error: Document not found (WWC-46000)" with a form based on a table with blob item

    Hi all,
    I have to manage a table-based form. One of the fields of the table is BLOB and the corrisponding field of the form is HIDDEN.
    When I push the INSERT button all works well but when I try to UPDATE I get "Error: Document not found. (WWC-46000)".
    Have you some suggestions ?
    Thanks,
    Antonino
    p.s. Oracle Portal 3.0.7.6.2 / NT
    null

    Sorry, I think I did not explain well my problem.
    Imagine this simple table:
    key number;
    description varchar2(50);
    image blob;
    I need to make a form that contains the corresponding "key" field and the "description" field but not the "image" one. I don't want to allow the end user to upload images!
    When I insert a row the form works well and in the "image" field of the table an empty blob or null (now I don't remember) is stored: that's ok.
    Now imagine I want to change the value of the "description" field. I submit a query for the right key, I type a new value for the description and finally I push UPDATE button but....an error occours.
    I think this error is related with the Blob item of the table but I'm not sure.
    Thanks again,
    Antonino
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitry Nonkin([email protected]):
    Antonino,
    If I understood the problem correctly:
    The form's item type for BLOB column used to upload content cannot be hidden, that's why we have a special item type FileUpload(binary).
    Thanks,
    Dmitry<HR></BLOCKQUOTE>
    null

  • Loaded dump from 12.5.4 to 15.7, Error 622 & Tables/Views not found

    Hi all,
    I am getting desperate trying to fix that issue. I had to import a dump from an ASE 12.5.4 into a new database on an ASE 15.7. I therefore enabled the compatibility mode server-wide and then proceeded to the load which seems to have performed correctly. The database seems well imported, and I can access most of the tables/views/procedures (from my C# application), but a procedure is giving me troubles.
    I am getting this error while executing a given procedure :
    Error: 622, Severity: 20, State: 1
    Opentable was passed a varno of 52. Object 'temp worktable' in database 'tempdb' already has that session descriptor in use. This occured while opening object id -1245236 in database id 2.
    I realised this was caused by a view which is used in this procedure but which is weird is that the error is not thrown when running the SQL code itself, out of the procedure context.
    I am using Toad for Sybase as a client, and realised I cannot access the data tab of the concerned view, Toad gives me the same error. So I cannot execute this view while it performs without any trouble on  the original server (production server which runs ASE 12.5.4).
    I also realised, when trying to execute some pieces of the query individually that I get warnings about unfound tables (and that I should use sp_help to fix the problem). Although, the tables actually exists and I can access their data.
    I have tried so many things and still cannot fix this problem. I've used 'upgrade_object', 'sp_recompile' on all tables, 'dbcc reindex' on all tables.
    Would you have any idea where the problem could come from? Thank you very much

    Thank you for your reply.
    Good to know that enabling compatibility mode before or after loading the load doesn't have any effect.
    I didn't drop/recreate all the SP and views but I can tell you I recreated a similar view and it causes the same issue.
    I had a look at your link yes. I have run 'dbcc upgrade_object' several times already, on the view and the procedures calling the view, and it won't solve anything.
    I've seen a similar post about the problem I have when executing the code itself of the view in a "normal" adhoc query (errors saying the tables are not found) : SAP Sybase Forums - ASE - Backup and Recovery - PRoblem after restore - Object does not exist.
    Could it be the same problem for me?
    Although I've tried splitting the SQL query and executing the parts individually and it works without any trouble. Problem is when the 2 parts of the view are put together. It may be something that was possible with ASE 12.5.4 but not with 15.7 and that compatiblity mode doesn't solve. My view consists of an union a two selects where both have left joins, case when then else, not in and a final group by (adding an order by doesn't help, as I tried).
    PS : I don't have access to the production server where the dump is actually from (but I could if it is really necessary)

  • Error: Variable not found in variable substitution table

    Hi,
    I am getting following error in file adapter receiver communication channel.
    error:Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: java.text.ParseException: Variable 'file' not found in variable substitution table
    <b>variable substitution values:</b>
    Variable name: File
    reference       :payload:MT_DC_Recr,1,Target,1,Filename,1
    file name scheme : %File%.txt
    <b>inpu file:</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_DC_Send xmlns:ns0="http://urn:psr/ff/DC">
       <Source>
          <Filename>dat1</Filename>
          <Record>
             <Name1>123</Name1>
             <Name2>abc</Name2>
             <Name3>XYZ</Name3>
          </Record>
       </Source>
    </ns0:MT_DC_Send>
    Regards,
    Srini

    Hi varun,
    This is the error i am getting now..
    Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: File
    what i am trying to get is reading filename from the message payload.
    Reg,
    Srini

Maybe you are looking for

  • Broke my Zen Nano P

    my zen nano plus is not working. It stopped working when i upgraded its firmware. the frimware installation wasn't complete. After that my Zen stoped working. It wont turn on. And its not detecting on my computer..not even on recevory mode...could u

  • Delete on very large table

    Hi all, one table in my database has grown to 20GB, this table holds log for applications since 2005 , so we decided to archive and delete all the log from 2005 and 2006. the table: CREATE TABLE WORKMG.PP_TRANSFAUX NID_TRANSF NUMBER(28) NOT NULL, VTR

  • SOLUTION for "corrupt file/directory" unable to install FLASH

    How many of you have run into trouble trying to install or update Flash Player and got the message about a corrupt file/folder at "C:/windows/system32/macromedia/flash"?  If you are like me, when you got it you first tried to install again.  Didn't w

  • Not able to find business system

    Guys , I am not able to find my business system in service without party -> business system in integration directory .

  • AS2 vs EDIFACT ? and how to use it ?

    Hi, How to use AS2 EDIFACT? I am using Oracle SOA 10g and Weblogic Server. Thanks