ORA-39189

Hi all

11.2.0.3

I import a dump file using:

Impdp System/Manager schemas = hr = emplog logfile = emplog table_exists_action = dumpfile truncate

Import: Release 11.2.0.3.0 - Production on Fri Mar 21 21:14:35 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

With partitioning, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options

ORA-39002: invalid operation

ORA-39189: could not decrypt the dump file set

ORA-28362: master key not found

Help, please...

Thank you

pK

Hi all

I got the wallet of the db backup target and copy the source db portfolio to be able to read the dump

Then replace it back later, when the impdp succeeded.

Tags: Database

Similar Questions

  • ORA-27300: OS dependent operating system: CreateThread failed with status: 8

    Hi all

    I'm looking for information on the guide follow error

    ORA-27300: OS dependent operating system: CreateThread failed with status: 8

    ORA-27301: OS Error Message: not enough memory is available to process this command.

    ORA-27302: an error occurred at: ssthrddcr

    Thank you
    Waqas

    Please don't be crazy on me, but in my opinion, this is the wrong place for your question. The fact is that Toshiba doesn't support Windows 2003 server for mobile computing. If you have problems try again with Microsoft.
    As a manufacturer of operating system, they should be able to offer an explanation for each error message. Sorry, but I see no connection between the problems described and Toshiba as a hardware manufacturer.

  • ORA-12154 tns could not resolve the specified correct identifier

    I am facing the following problem:

    labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).

    I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.

    I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).

    I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.

    I get the error:

    ADO error: 0x80040E4D
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers:

    [Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier

    all will help much appreciated

    Thanks in advance

    Hello everyone.

    I already solved the problem (work until late Saturday).

    the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).

    Now everything works OK.

    I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.

    Thans a lot.

  • ORA-12154 for sqlplus username/password@TNS but tns ping works and sqlplus username@TNS works.

    Hello-

    I am facing the following question when I try to connect by using the command prompt sqlplus for Oracle 11.2.0.3 DB installed and running on HP - UX.

    The password is not all special characters & I also tried with the double quotes which did not work.

    Following want to work with username/password@TNSNAME because I'm trying to get my application to connect to the database, the schema mentioned because it uses the jdbc connection with the connection as (username/password@TNS:1521) string.

    C:\Users>sqlplus username/Pa55w0rd@DBNAME;
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:21:43 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    
    
    
    Enter user-name:
    C:\Users>tnsping DBNAME
    
    
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    016 07:21:57
    
    
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    
    
    Used parameter files:
    C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    
    
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DBNAME)))
    OK (50 msec)
    
    
    C:\Users>sqlplus username@DBNAME
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:22:05 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    Enter password:
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    SQL> show user
    USER is "username"
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
    bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    C:\Users>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    content content of tnsnames.ora & sqlnet.ora:

    DBNAME =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain)  (PORT = 1521))
        (CONNECT_DATA =
            (SERVER = DEDICATED)
            (SERVICE_NAME = DBNAME)
        )
    )
    

    # sqlnet.ora Network Configuration File: C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    
    
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    
    
    
    
    
    
    

    Thanks in advance

    Hello

    sqlplus username/Pa55w0rd@DBNAME;

    Try it without the semicolon;

    sqlplus username/Pa55w0rd@DBNAME

    Regards Thomas

  • ORA-02089: COMMIT is not allowed in a session of subordinate.

    Hi all

    We call our Oracle stored procedure in a database link from a MS SQL database and get the following error...

    Error was not able to run native in bulk handling request: exec AddBookingToCRM @p_attribute1 = "other bulky ', @p_attribute2 = '1 ', @p_attribute3 ="Not specified", @p_attribute4 =" N/a", @p_attribute5 ="Not specified", @p_attribute8 = ' 1231', @p_attribute9 = ' 91665 ', @p_customer_title = 'Mr', @p_customer_firstname is 'Scott', @p_customer_surname = 'Burton', @p_customer_uprn = ' 64004572', @p_customer_area_code = ' 01234 ', @p_customer_phone = ' 567984' , @p_customer_email = ' [email protected]', @p_contact_title = 'Mr', @p_contact_firstname is 'Scott', @p_contact_surname = 'Burton', @p_contact_area_code = ' 01234 ', @p_contact_phone = ' 567984', @p_contact_email = ' [email protected]', @p_resolution_date = ' 2016-02-11 07:00 ' [SQL: exec AddBookingToCRM @p_attribute1 = "other bulky ', @p_attribute2 = '1 ' @p_attribute3 ="Not specified", @p_attribute4 =" N/a", @p_attribute5 ="Not specified", @p_attribute8 = ' 1231', @p_attribute9 = ' 91665' @p_customer_title = 'Mr'] [@p_customer_firstname = 'Scott', @p_customer_surname = 'Burton', @p_customer_uprn is '64004572 ', @p_customer_area_code = '01234', @p_customer_phone = ' 567984', @p_customer_email = ' [email protected]', @p_contact_title = 'Mr', @p_contact_firstname is 'Scott', @p_contact_surname = 'Burton', @p_contact_area_code is '01234', @p_contact_phone = ' 567984', @p_contact_email = ' [email protected]', @p_resolution_date = ' 2016-02-11 07:00 '] could not execute statement on remote server 'LLPGDEV '. "OraOLEDB.Oracle" provider OLE DB linked server 'LLPGDEV' returned message ' ORA-02089: COMMIT is not allowed in a session subordinate ORA-06512: at "XXCRM." XXCRM_CREATE_INCIDENT_DETAILS', line 376 ".

    Thank you very much

    Mike Williams.

    You must be in a comeback or XA transaction. This means that you can not call a procedure that has a COMMIT, because hiring the framework of a transaction is logically impossible. So remove the VALIDATION of the procedure. Which you should do anyway: to engage in a procedure is usually a bad thing.

  • ORA-00020: maximum number of processes (150) exceeded

    Hello

    I'm getting ORA-00020: maximum number of processes (150) exceeded. I can not connect as sys. I killed all the oracle user processes but could not connect. Pls advice me on this.

    Rgds,

    AthuruMithuru.

    Hello

    try to connect with a - prelim

    prelim sqlplus / as sysdba

  • "" ORA-04062: SIGNATURE OF THE PACKAGE "apps.fnd_date" has been changed

    Hi all

    EBS R12.1.3

    OL6.5

    We have an instance of clone TEST taken instance PROD.

    For our Production, we have:

    > appprod - level apps

    > oraprod - db level

    Then we cloned TEST such as:

    > apptest - level apps

    > oratest - db level

    Then we applied many fixes on test for validation or 'tests '.

    Now after 6 months, we need current data production to simulate past editions. So I restore rman PROD sauvegardΘ on UAT data so the data are now more recent.

    But I do not to reclone level apps (apptest) so the patches will be still intact.

    Is this a correct process? The database has been modified, but the apps layer was always the same?

    So far, we have 3 errors

    ORA-04062: signature of the package 'APPS '. "IBY_DISBURSEMENT_COMP_PUB ' has been changed

    "" ORA-04062: SIGNATURE OF THE PACKAGE "apps.fnd_date" has been changed

    error msge: FRM - 40735:PRE - F Trigger of the ORM raised unhandled exception ORA-01403


    Kind regards

    JC

    Have you checked error logs? Check if its related to this.

    Refreshing Apps also PROD level now? or is it the old application layer on which you run just autoconfig?

    Running Adcfgclone at the level of the Apps fails with ' mscmatlab.sh: line 45: uncompress: command not found "(Doc ID 1529335.1)

  • ORA-01422: exact fetch returns more than number of lines

    Hello world

    I want to create a procedure only allows me to perform selection et Update in my database, I have already create the procedure and compiled without problems but when I want to run this procedure, I have this error

    ORA-01422: exact fetch returns more than number of lines

    This syntax of my procedure

    create or replace procedure app is

    i nombre := 100 ;

    o_username employees.first_name% TYPE ;

    o_lastn employees. Last_name %TYPE

    o_sal. employees % of SALARY TYPE ;

    Start

    loop

    / * display * /.

    Select first_name, LAST_NAME, SALARY

    in o_username, o_lastn, o_sal

    of admin.employees where employee_id = i;

    DBMS_OUTPUT. Put_line (' name: ' | o_username);

    DBMS_OUTPUT. Put_line (' first name: ' | o_lastn);

    DBMS_OUTPUT. Put_line (' salary: ' | o_sal)

    / * put a days * /.

    Update employees

    put salary = salary + salary *0.25 where employee_id = i;

    commit;

    / * dbms_put.put_line (' new salary is: ' | ') sell2_tab (i)); * /

    i := i + 1 ;

    / * list the data * /

    / * dbms_put.put_line (' new salary is: ' ") ;*/

    output when i = 200;

    end loop;

    end app;

    thnx

    create or replace procedure APP is

    Constant START_ID EMPLOYEES. EMPLOYEE_ID % TYPE: = 100;

    Constant END_ID EMPLOYEES. EMPLOYEE_ID % TYPE: = 200;

    O_USERNAME EMPLOYEES. Type % name;

    O_LASTN EMPLOYEES. Last_name type %;

    O_SAL EMPLOYEES. Kind of % of SALARY;

    Start

    for rec (select FIRST_NAME, LAST_NAME, salary

    the admin. EMPLOYEES

    where EMPLOYEE_ID between START_ID and END_ID)

    loop

    DBMS_OUTPUT. Put_line (' name: ' | rec. NAME);

    DBMS_OUTPUT. Put_line ("first name:" | ") Rec. LAST_NAME);

    DBMS_OUTPUT. Put_line (' salary: ' | rec. SALARY) / * setting days * /.

    end loop;

    Update EMPLOYEES

    Set SALARY = SALARY + SALARY * 0.25

    where EMPLOYEE_ID between START_ID and END_ID;

    commit;

    end app;

  • Data load rule for BefImport script getting failed due to the error Code ORA-01858

    Hello guys,.

    I'm trying to load some data from the views created in EBS to HFM using FDMEE with the help of the BefImport Script. To do this, I wrote script below:

    _________________________________________________________________________________________________________________________________________________

    import java.sql SQL

    import sys

    batchName = "Batch_" + str (fdmContext ["LOCNAME"])

    insertStmt = «»

    stmtRS = «»

    If (fdmContext ["LOCNAME"] is "LOC_OIA_FA_CORP1"):

    "insertStmt = '"

    INSERT INTO AIF_OPEN_INTERFACE)

    BATCH_NAME

    YEAR

    PERIOD

    PERIOD_NUM

    CURRENCY

    COL04

    COL05

    COL07

    COL08

    COL09

    COL10

    COL11

    QUANTITY

    ) (VALUES

    ?

    ,?

    ,?

    ,?

    ,?

    ,?

    ,?

    ,?

    ,?

    ,?

    ,?

    ,?

    ,?

    )

    """

    sourceConn = sql. DriverManager.getConnection ("jdbc:oracle:thin:@ebsr12dbcnvgl.abc.com:1541:avc", "pppp", "nnnnn");

    # Limiting the number of rows to 5 during the test runs.

    selectStmt = 'SELECT TEMP_VIEW. PERIOD_YEAR, TEMP_VIEW. PERIOD_NAME, TEMP_VIEW. PERIOD_NUM, TEMP_VIEW. CURRENCY_CODE, TEMP_VIEW. SEGMENT1, TEMP_VIEW. SEGMENT2, CONCAT (TEMP_VIEW. SEGMENT3, TEMP_VIEW. "SEGMENT4) AS SEGMENTX, TEMP_VIEW.SEGMENT5, TEMP_VIEW.SEGMENT6, TEMP_VIEW.SEGMENT7, TEMP_VIEW.SEGMENT8, TEMP_VIEW.NETBAL FROM TEMP_VIEW WHERE THE QUAD IS NOT NULL.

    stmt = sourceConn.prepareStatement (selectStmt)

    stmtRS = stmt.executeQuery)

    batchName = "Batch_" + str (fdmContext ["LOCNAME"])

    While (stmtRS.Next ()):

    params = [batchName, stmtRS.getString("PERIOD_YEAR"),

    stmtRS.getString ("PERIOD_NAME"),

    stmtRS.getString ("PERIOD_NUM"),

    stmtRS.getString ("CURRENCY_CODE"),

    stmtRS.getString ("SEGMENT1"),

    stmtRS.getString ("SEGMENT2"),

    stmtRS.getString ("SEGMENTX"),

    stmtRS.getString ("SEGMENT5"),

    stmtRS.getString ("SEGMENT6"),

    stmtRS.getString ("SEGMENT7"),

    stmtRS.getString ("SEGMENT8"),

    stmtRS.getBigDecimal ("NETBAL")]

    fdmAPI.executeDML (insertStmt, params, False)

    fdmAPI.commitTransaction)

    stmtRS.close)

    stmt. Close()

    sourceConn.close)

    _________________________________________________________________________________________________________________________________________________

    But my DLR gets failed. When I checked the ODI journal for this, I found that it is said: stmtRS = stmt.executeQuery () and display and error code problem:

    java.sql.SQLDataException: java.sql.SQLDataException: ORA - 01858: a nonnumeric character where waiting a digital.

    What is the problem? Kindly help.

    Thank you

    Concerning

    Nishant

    Nishant

    small Question... What version you use.  the latest Patch is now universal data adapter that allows for a direct import of the tables and views without the need to use the Interface open to scene data table

    If you're not on current patch.100 then you should look at the data types for the OpenInterface table... you can see the number.  I guess it's the column YEAR or PERIOD_NUM giving you seizures

    If you run your code in Eclipse before you deploy I'd print our your insertStmt SQL and then try to run in SQLDeveloper.

    Hope this helps

    Wayne

  • ORA-01008: not all variables bound... but only in an environment

    Running Oracle on Solaris 11.2.0.3.15.

    Two test environments, each with identical spfiles (give or take the database names, etc.).

    Here is my code in both cases:

    create or replace procedure HJR_TEST

    as

    v_daykey_from number (10): = 13164.

    v_text varchar2 (3000);

    Start

    Select cd.daykey. CD. CalendarDate in v_text

    from the cds.cdsday CD,

    CDS. Snapshot vsp

    where vsp.daykey = cd.daykey

    and cd.daykey > = v_daykey_from

    and rownum < 2;

    dbms_output.put_line (v_text);

    end;

    Work as an environment:

    SQL > start

    hjr_test;

    end;

    PL/SQL procedure successfully completed.

    1318001/FEB/16

    Run it in another environment:

    Error from line: 18 in the command.

    Start

    hjr_test;

    end;

    Error report-

    ORA-01008: not all variables

    ORA-06512: at the 'JRH. HJR_TEST', line 7

    ORA-06512: at line 2

    01008 00000 - "not all variables.

    * Cause:

    * Action:

    Same code; init.ora parameters; same version of the database. same o/s; different results.

    Got clues as to where I should be looking for the trouble, please?

    Concerning

    JRH

    Thought I better update the forum on this one.

    This is a bug confirmed, although the bug report is not published.

    There are cases where the optimizer calls kkpap do partition

    pruning in the compilation. Sometimes to partition pruning is done in

    subqueries running against the table. If the bind variables values

    required to operate these subqueries, so we cannot do the pruning to

    compile time.

    The fix for the bug 14458214 fixed this problem in the case where the

    subquery was used to carve at the partition level. However, it is

    possible that use us another method at the level of the partition, and then use

    pruning of subquery subpartition level; this case was not

    addressed by the fix for 14458214.

    The mentioned bug has a patch available in 11.2.0.4 and don't occur in 12 c. For some reason, I'm also made bug 17258090, but I see no content in this bug report. :-(

    Possible solutions in 11.2.0.3 is to make a alter session set "_subquery_pruning_enabled" = false; ... but since X$ KSPPI lists _subquery_pruning_enabled as a hidden parameter, I guess you can also set it instance globally, although obviously the consequences for other queries would at this time must be evaluated very carefully.


  • ORA-39000 bad dump file specification

    Hi all

    I'm trying to exercise a windows scheduler job that will allow to create backup of my database every day once. So this is why I have created a batch file "PREPROD_BACKUP.bat", which contains data:

    off @echo

    setlocal EnableDelayedExpansion

    expdp PARFILE SYSTEM/Leosoft@XE = export_dump.par

    The export_dump.par file contains information:

    DIRECTORY = preprod_cron_jobs

    DUMPFILE = ratormonitor_! date: ~ 10, 4. Date: 6 ~, 2! ! Date: ~ 4, 2.! DMP

    LOGFILE = ratormonitor.log

    SCHEMAS = RATOR_MONITORING, RATOR_MONITORING_CONFIGURATION

    CONTENT = ALL

    When I try to run the "PREPROD_BACKUP.bat" I get error like 'ORA-39001:invalid argument value', ' ORA-39000 dump bad file specification ", ORA - 39087:directory name ratormonitor_! date is not valid. I try to create the dump with current datetimestamp file attached to the file for the name of the dump file should look like this "ratormonitor_2015.02.03.37.029062831", but we get an error.

    Looks like you're under Windows.

    This will not work:

    ! date: ~ 10, 4. Date: 6 ~, 2! ! Date: ~ 4, 2!

    If you use the following syntax:

    %Date:~10,4%%date:~6,2%.%D ate: ~ 4, 2%

  • ORA-01031: insufficient privileges while selectin view belongs to another schema in oracle database 11g

    Hello

    DB version 11.2.0.3.0

    We have a few views resides in the application schema, we cerated user and granted select on the view through the roles.

    but the user becomes ORA-01031: insufficient privileges when accessing the content view

    appreciated inputs

    BR

    Praaksh GR

    > I issued a grant select on Z.table - X with the option grant.

    This isn't what you need - you should

    Grant select on Z.table y with the option grant.

    Grant select on Y.view to X;

  • ORA-27102: out of memory

    Hi all

    11 GR 2

    RHEL6.5

    I'm from our TEST database, but I got error

    $ sqlplus / as sysdba

    SQL * more: Production of the 11.2.0.4.0 version on MON Feb 1 09:21:46 2016

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    Connect to an instance is idle.

    SQL > startup

    ORA-27102: out of memory

    Linux-x86_64 error: 28: no space is available on the device

    Additional information:-33554432

    Additional information: 1

    What is the memory below that I can attribute to my LMS avoid this error?

    # free-m

    total used free shared buffers cached

    MEM: 14882 9679 5202 1012 29 1759

    -/ + buffers/cache: 7890 6991

    Swap: 20488 8881 11607

    I also Thomas set shmall in /etc/sysctl.conf

    # Control the maximum number of shared memory pages segments

    kernel.shmall = 4294967296

    Thank you very much

    JC

    shmall is the total amount of shared memory, in the pages, that the system can use simultaneously.

    Define shmall equal to the sum of all Sams in the system, divided by the size of the page.

    The page size can be determined by using the following command:

    $ getconf PAGE_SIZE

    4096

    For example, if the sum of all Sams in the system is 16 GB and the result of

    "$ getconf PAGE_SIZE" is 4096 (4 KB) then set shmall 4194304 pages

    As the root user affect the 4194304 shmall in /etc/sysctl.conf file:

    kernel.shmall = 4194304

    then run the following command:

    $ sysctl Pei

    $ cat/proc/sys/kernel/shmall

    4194304

    The above command loads the new value and an restart is not required.

    Return to the oracle user and try again the start command.

  • ORA-12028: type of materialized view is not supported by the main site

    Hi guys!

    We face a problem these days about the materialized view.

    We have upgraded database version 9.2.0.7 directly to 10.2.0.5 (RHEL4 x 86) on the same host. Database uses the driver dg4odbc to connect with remote SQL Server 2012 through data binding called MIKSERI. Our developer team would like to have replicated SQL server table data side Oracle using the materialized view.

    They created Materialized view, but it is not at all to refresh the data. I tried to study a little bit, and whenever I try to change the view anyway I hit error:

    ORA-12028: view type is not supported by the master site materialized @ 'MIKSERI '.

    ORA-06512: at line 22

    I looked at the solutions proposed and discovered that it is maybe the compatible database parameter, so I changed from previous 9.2.0.0.0 to 10.2.0.1.0 but still no luck. Just to emphasize this database is of course different clone of production to a different database, with db name retained and other parameters, but on another host computer and listening port. I even try to change global name, but still no luck.

    Main problem is that refresh the work does not at all. To be more precise, we have created MV on the side of the Oracle and FULL Refresh should be done every 3 minutes. MV uses HS db link to the sql server database.

    During the creation of MV, we can see currently given to sql server, but the problem is that we cannot do MV to refresh every 3 minutes. When I try to change MV and put the refresh interval I get above error.

    Any kind of help would be greatly appreciated,

    Thank you

    I found the reason why my MV update jobs failed, job_queue_processes parameter was equal to 0. I change this setting and now works fine.

    Thank you for your time!

  • Getting ORA-22835: buffer too small for to CHAR CLOB or BLOB to RAW conversion in my ODI interface

    Hi all

    I am creating an interface ODI as explained below,

    I table A column 'Comments' and one other table with column B "No Comment." I create a view as shown below and use it as a source for my interface.

    SELECT * FROM WC_EQM_CSAP_FS_TMP WHERE to_char (QUESTION_COMMENT) IN (SELECT NO_COMMENTS FROM WC_EQM_NO_COMMENTS_LIST).

    But my interface fails with the error below

    ORA-22835: buffer too small for to CHAR CLOB or BLOB to RAW conversion (real: 4108, maximum: 4000)

    22835 00000 - "too small buffer tank CLOB or BLOB to RAW conversion (actual: %s, maximum: %s)) '

    * Cause: an attempt was made to convert CLOB to CHAR or BLOB to RAW, where

    LOB size was larger than the buffer for CHAR and RAW limit types.

    Note that the widths are reported in characters if characters length isadds are in effect for the column, other widths are

    in bytes.

    Here QUESTION_COMMENT is of type CLOB data. NO_COMMENTS is also CLOB data type. The maximum length of the data of QUESTION_COMMENT is also 11710

    Please tell us how to solve.

    Thank you

    Dany

    IMHO, it is not good to compare CLOB, can be that it is possible to use the primary key for the comments

    Is it QUESTION_COMMENT and NO_COMMENTS a PRIMARY INDEX,

    may be is the best solution to create vacabulary with comments (if it does not exist) and then compare it by id;

    You can simply use the left join and check for null in a CASE statement

    Try this, but I don't know... as I said before I have no Oracle DB

    SELECT INTEGRATION_ID, DATASOURCE_NUM_ID, QUESTIONNAIRE_ID, QUESTION_ID,

    CLIENT_ID, SITE_ID, CLIENT_REP, COMMITMENT, ENGAGEMENT_TYPE, TOP_CLIENT_FLG,

    INITIAL_PLANNED_DT, REVISED_PLANNED_DT, INTERVIEW_DT, RECEIVED_DT, QUESTION_SCORE,

    (

    CASE WHEN EXISTS (SOME T2.NO_COMMENTS OF WC_EQM_NO_COMMENTS_LIST T2 WHERE DBMS_LOB.COMPARE (TMP.) (QUESTION_COMMENT, T2.NO_COMMENTS) = 0)

    THEN NULL

    OF OTHER QUESTION_COMMENT

    END QUESTION_COMMENT),

    (CASE WHEN QUESTION_SCORE<=5 then="" 1="" else="" 0="" end)="">

    0 AS QWOCOMMENTS,

    CREATED_ON_DT, CHANGED_ON_DT OF WC_EQM_CSAP_FS_TMP as TMP

    P.S. does not use TO_CHAR (LOB) there are possible error

Maybe you are looking for