Gettin ORA-01461 error in informatica level

Hi All
Iam getting following error at informatica level.
WRT_8229 : Database errors occurred:
ORA-01461: can bind a LONG value only for insert into a LONG column
But we dont have any column with LONG datatype. only we have varchar2 datatype and date. its direct loading from source to target.
could you please provide me the solution
thanks
LNR

Looks like a bug..check metalink note 728074.1
Pls mark correct/helpful...

Similar Messages

  • ORA-01461 error occurs

    Hi All.
    I'm using WLS6.1 on Soralis8.
    I try to use jdbc to store persistance
    sessions,but An ORA-01461 error occurs
    while the server is trying to write the
    session data in the JDBC managed
    persistence when using the Oracle thin
    Driver.
    How should I fix the problem?

    You should open a support case and request patch CR083912_610sp1.jar if you are
    seeing the exception below
    ORA-01461 error occurs while the server try to write the session data in the JDBC
    managed persistence (using Oracle thin Dricer).
    Configuration:
    WLS 6.1 SP1
    Oracle Server: 8.1.7.3
    Oracle thin driver and JDK come with WLS
    Error : This error comes to the server command line window when I first hit
    the jsp page.
    Error Details :
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into
    a LONG column
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)

  • ORA-01461 Error when mapping table with multiple varchar2(4000) fields

    (Note: I think this was an earlier problem, supposed fixed in 11.0, but we are experiencing in 11.7)
    If I map an Oracle 9i table with multiple varchar2(4000) columns, targeting another Oracle 9i database, I get the ORA-01461 error (Can't bind a LONG value only for insert into a LONG).
    I have tried changing the target columns to varchar2(1000), as suggested as a workaround in earlier versions, all to no avail.
    I can have just one varchar2(4000) map correctly and execute flawlessly - the problem occurs when I add a second one.
    I have tried making the target column a LONG, but that does not solve the problem.
    Then, I made the target database SQL Server, and it had no problem at all, so the issue seems to be Oracle-related.

    Hi Jon,
    Thanks for the feedback. I'm unable to reproduce the problem you describe at the moment - if I try to migrate a TEXT(5), OMWB creates a VARCHAR(5) and the data migrates correctly!! However, I note from you description that even though the problematic source column datatype is TEXT(5), you mention that there are actually 20 lines of text in this field (and not 5 variable length characters as the definition might suggest).
    Having read through some of the MySQL reference guide I note that, in certain circumstances, MySQL actually changes the column datatype specified either at table creation time or when interfacing with other databases ( ref 14.2.5.1 Silent Column Specification Changes and 12.7 Using Column Types from Other Database Engines in the MySQL reference guide). Since your TEXT(5) actually contains 20 lines of text, MySQL (database or JDBC driver .... or both) may be trying to automatically map the specified datatype of the column to a datatype more appropriate to storing 20 lines of text.... that is, to a LONG value in this case. Then, when Oracle is presented with this LONG value to store in a VARCHAR(5) field, it throws the ORA-01461 error. I need to investigate this further, but this may be the case - its the first time I've see this problem encountered.
    To workaround this, you could change the datatype of the column to a LONG from within the Oracle Model before migrating. Any application code that accesses this column and expects a TEXT(5) value may need to be adjusted to cope with a LONG value. Is this a viable workaround for you?
    I will investigate further and notiofy you of any details I uncover. We will need to track this issue for possible inclusion in future development plans.
    I hope this helps,
    Regards,
    Tom.

  • ORA-01461 error inserting over DB Link

    We receive an ORA-01461 error (can bind a LONG value only for insert into a LONG column) when using HTMLDB to insert into a remote table over a database link. The remote table has two VARCHAR2 and one NUMBER columns - it does not contain a LONG column. Inserting via SQL*Plus is OK.
    Any ideas anyone?
    Barry

    Anyone found a solution to this. I'm getting the same error. HTMLDB 1.6
    I have TableA and TableB in remote db1. TableA=Master, TableB=Detail. Both tables have single column PK generated by a trigger.
    In db2 I created a schema with viewA on TableA@db1 and viewB etc.
    HTMLDB app accesses views.
    I've tried to create a tabular form page to insert update delete into viewB but can only delete. Insert & update produces error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01461: can bind a LONG value only for insert into a LONG column ORA-02063: preceding line from ORIXREPORTS.ORIXNZ.CO.NZ, update "IT_HTMLDB"."SCHEDULED_REPORT_PARAMETERS" set "SCHEDULED_REPORT_PARAMETER_ID" = :b1, "SCHEDULED_REPORT_ID" = :b2, "NAME" = :b3, "VALUE" = :b4, "VALUE_TYPE" = :b5 where "SCHEDULED_REPORT_PARAMETER_ID" = :p_pk_col
    Have also tried a Master Detail page with similar problems.
    I have only managed to get this to work by using the "Form on a Table with Report, 2 Pages" page creation option and then specifiying that Detail is editied in separate page. However this means deletes & updates are slow for the user as cannot do multi updates and deletes etc.
    Any help appreciated.
    Cheers
    Ian

  • ORA-01461 error when migrating MySQL -- Oracle table data

    All,
    I'm migrating MySQL 4.x to Oracle10g. Everything went smoothly except for one table was unable to migrate data, giving me the following error:
    Unable to migrate data from source table mysql.mytable to destination table root.MYTABLE :
    ORA-01461: can bind a LONG value only for insert into a LONG columnThe offending source column in MySQL is defined as TEXT. In OMWB it is TEXT (5). The Oracle model originally defined it as VARCHAR2(1), but I resized it to VARCHAR2(4000) since it contains about 20 lines of text.
    Neither the mysql or the oracle data models have a LONG column anywhere. Any idea's what might be causing this error?
    Thanks.

    Hi Jon,
    Thanks for the feedback. I'm unable to reproduce the problem you describe at the moment - if I try to migrate a TEXT(5), OMWB creates a VARCHAR(5) and the data migrates correctly!! However, I note from you description that even though the problematic source column datatype is TEXT(5), you mention that there are actually 20 lines of text in this field (and not 5 variable length characters as the definition might suggest).
    Having read through some of the MySQL reference guide I note that, in certain circumstances, MySQL actually changes the column datatype specified either at table creation time or when interfacing with other databases ( ref 14.2.5.1 Silent Column Specification Changes and 12.7 Using Column Types from Other Database Engines in the MySQL reference guide). Since your TEXT(5) actually contains 20 lines of text, MySQL (database or JDBC driver .... or both) may be trying to automatically map the specified datatype of the column to a datatype more appropriate to storing 20 lines of text.... that is, to a LONG value in this case. Then, when Oracle is presented with this LONG value to store in a VARCHAR(5) field, it throws the ORA-01461 error. I need to investigate this further, but this may be the case - its the first time I've see this problem encountered.
    To workaround this, you could change the datatype of the column to a LONG from within the Oracle Model before migrating. Any application code that accesses this column and expects a TEXT(5) value may need to be adjusted to cope with a LONG value. Is this a viable workaround for you?
    I will investigate further and notiofy you of any details I uncover. We will need to track this issue for possible inclusion in future development plans.
    I hope this helps,
    Regards,
    Tom.

  • ORA-01461 error

    Hi, all
    I am loading data in csv format into the Oracle 9i table. I can proceed with one a few lines, but end up with "ORA-01461 can bind a LONG value only for insert into a LONG column" error message. When I uncomment the setSQL call in earch loop, I got my job done with no complain. I wonder is there something wrong with my source code, or repeatedly bind and execute on a prepared statement are just disallowed.
    The csv data is something like:
    4409020,xxxxxx,6578B,,
    9901400,xxxxx,11CBM,,
    4447130,xxxx,6578H,,
    And the C++ source:
    PFile file("data.csv");
    int colCount = 5;
    int colTypes[] = {
         occi::OCCI_SQLT_CHR,
         occi::OCCI_SQLT_CHR,
         occi::OCCI_SQLT_CHR,
         occi::OCCI_SQLT_CHR,
         occi::OCCI_SQLT_NUM
    int count = 0;
    PString line;
    PStringArray fields;
    // prepare
    stmt->setSQL("INSERT INTO m_pckk_hatyu VALUES (:1,:2,:3,:4,:5)");
    while (file.ReadLine(line)) {
         //stmt->setSQL((const char *)sql);
         fields = line.Tokenise(",", TRUE);
         csvColCount = fields.GetSize();
         if (colCount != csvColCount) {
              cout << "Skip line " << (count+1) << ": " << line << endl;
              continue;
         // bind
         for (int j=0; j<colCount; j++) {
              if (colTypes[j] == occi::OCCI_SQLT_NUM) {                         // number
                   stmt->setNumber(j+1, occi::Number(fields[j].AsReal()));
              } else if (colTypes[j] == occi::OCCI_SQLT_CHR) {               // varchar2
                   stmt->setString(j+1, (const char *)fields[j]);
         // execute
         count += stmt->executeUpdate();

    When you are dealing with long varchars, try using the stmt->setMaxParamSize(index, maxSize) API. i beleive oracle has some predefined optimized sizes for the bind variables. Here the index is the index of the bind variable and the maxSize is the size of the varchar.

  • ORA-01461 error using jdbc 10.2.0.1.0

    I am using the oracle jdbc 10.2.0.1.0 ( the latest version) and oracle 10g (10.1.0.4.0) database. Sometimes, the error "ORA-01461: can bind a LONG value only for insert into a LONG column' if I use a java program to insert record to a table containing a 'long raw' field. Previously, the same java program work well with oracle 9i.
    Interestingly, the 'ORA-01461' only SOMETIMES happen. If the problem appears, I need to rename the table and create a new one and then the data can be inserted.

    After 3 days of deep analysis on my project, now I have a clear idea of the problem.
    As you can find on web, newer versions of Oracle drivers for Java have the possibility to set property :
    oracle.jdbc.RetainV9LongBindBehavior=true
    it's considered the fix for this bug, and effectively it seems to work.
    But also with this setting, drivers have one more bug!+
    The problem appears in these conditions:
    - Application tries to save a string into a LONG column database
    - String length is more than 4000 bytes
    - String has less than 4000 characters (it's possible in case of international characters, which takes more than 1 byte)
    With these conditions, we have again error ORA-01461: can bind a LONG value only for insert into a LONG column.
    It seems that drivers evaluate string length before saving it, and consider it as LONG only for 4000+ characters. The bug is just on this check, that must consider length in bytes, according to database character encoding, and not simply for character length.
    As workaround, on my application we added a logic that appends spaces (" ") until total characters are at least 4001. In this way, string is considered correctly as LONG and storage works correctly.
    The check is something similar to this:
    if(value.getBytes("UTF-8").length > 4000 && value.length() < 4000)
    for(int x = value.length(); x<=4000; x++)
    value += " "; // always use StringBuffer for appending
    This workaround works, but it's clear that it can be not acceptable in many cases, for application funcionalities. In my specific bug, it has been very useful.
    My customer opened a ticket to Oracle, asking for solution of this bug. I will wait for Oracle answer.
    Finally, we have to say that Oracle warned to not use anymore LONG datatype: it's deprecated since v8.0.
    Bye guys ;-)
    Edited by: user12274810 on 25-nov-2009 12.04

  • Found the problem (Re: ORA-01461 error in DB with char encoding = UTF8)

     

    Hi,
    Yes even i had this problem and setting this weblogic.oci.min_bind_size =660 solved.
    But the proble i face is this works if i get the connection through java code. Instead if i use Connection pool and edit the config.xml or do through admin console .This doesn't work even after setting this property. Any Help will be appreciated and it is pretty urgent.
    Thanx
    -Sugandha

  • Weird exception in 12c (ORA-01461: can bind a LONG value only for insert into a LONG column)

    I have a Windows app that accesses an Oracle 12c database via ODBC (the driver version is 12.01.00.01).
    I have a table that has a key column named REGION_ID (NVARCHAR2(9)), and about a dozen other columns, three of which are named REGION1, REGION2, and REGION3, all of type NVARCHAR2(40).
    When I try to insert a string into the REGION1 field that's greater than 9 characters (the length of REGION_ID), I get an ORA-01461 error ('Can bind a LONG value only for insert into a LONG column). If I define the length of REGION_ID to be NVARCHAR2(15), then I can add strings to the REGION1 field with a length up to 15 before I get the ORA-01461 exception again. Oddly, if I change the REGION1 column name to REGIONONE, I do not get any errors, and everything works fine. It's almost as if the column name REGION1 is being confused with REGION_ID behind the scenes.
    Any ideas? I’m using SQLBindParameter to bind the columns, and all of the calls succeed. I get the exception when I execute the insert statement. This same code worked for previous versions of Oracle (11g, 10g, and 9i). And if I use an 11g client driver against the 12c server, I do not get the exception.
    Thanks!

    Sorry, I was just now able to install the patch for bug 18232462, and it did indeed solve the issue I described above. Thanks!

  • ORA-01461 - Inserting pound sign

    Wonder if anyone can help with this issue?
    I'm running Oracle Forms [32 Bit] Version 10.1.2.0.2 (Production) with OC4J 10.1.2.0.2 against Oracle database version 11.1.0.7.0. where the NLS_CHARACTERSET on the database is AL32UTF8.
    NLS_LANG on my machine is:
         SQL> @.[%NLS_LANG%].
         SP2-0310: unable to open file ".[AMERICAN_AMERICA.WE8MSWIN1252]..sql"
         SQL>
    I have a form with a non database block containing a push button and text item field, Data Type - CHAR, Maximum Length - 1000, Data Length Semantics - Null
    create table amc_pound_test
    ( apt_id number
    , text1 varchar(2000)
    Using the button with a When-Button-Pressed trigger I try to insert the text, "£1", into the above table using the following code:
         DECLARE
              aSeq Number;
         BEGIN
              Select NVL(MAX(Apt_Id),0) + 1
              Into aSeq
              From AMC_POUND_TEST;
              Insert Into AMC_POUND_TEST
              ( apt_id
              , text1
              Values
              ( aSeq
              , 'Direct: '||:block3.text1
              commit;
              insert_rec(:block3.text1);
         END;
    Where insert_rec is a program unit defined as:
         PROCEDURE insert_rec ( pi_Text1 amc_pound_test.Text1%TYPE ) IS
              aSeq Number;
         BEGIN
              Select NVL(MAX(Apt_Id),0) + 1
              Into aSeq
              From AMC_POUND_TEST;
         INSERT INTO AMC_POUND_TEST
         ( Apt_Id
         , Text1
         VALUES
         ( aSeq
         , 'Via Proc: '||pi_Text1
         commit;
         END;
    When the Maximum Length of field on the form (:block3.text1) is set to 1000 or less both inserts work fine.
    Once the Maximum Length is increased to more than 1000, e.g. 1001, 1333, 2000 the insert via the Insert_Rec procedure fails with an ORA-01461 error.
    However, if I remove the pound sign, both inserts work fine!
    Any ideas?
    Many Thanks
    Anton

    Seems to be related to Oracle Bug 5143833.
    I'll update if the workaround to set the NLS_LANG to UTF8 works on customer site.

  • Receiving ora-01461 when trying to insert

    Hello,
           I have a form with multiple rows of data, i wrote a loop statement that inserts data into another table.  When i test the statement from SQL prompt, everything works with no problems.  however, when i added to the save button, i am receiving the Ora-01461 error.  why is that?  the description from what i find doesn't seem to fit with what i'm doing.  any thoughts?  I'm using Oracle Forms 10g and writing to an 11g database.
    thank you,
    steven

    commit_form;  --commit the form first so that any changes will be applied to the database, prior to being copied over to destination table.
    declare
         cursor c_bullet is
              select SL_3_BULLET_NBR, SL_3_PREFACE_BULLET, SL_3_PREFACE_DATE_INPUT, SL_3_SUB_CAT_NBR
              from PARKER.SL_3_PREFACE_DEFAULTS;
    v_bullet_nbr      PARKER.TEMP_PREFACE_BULLET.SL_3_BULLET_NBR%TYPE;
    v_bullet              PARKER.TEMP_PREFACE_BULLET.SL_3_BULLET%TYPE;
    v_date_input     PARKER.TEMP_PREFACE_BULLET.SL_3_DATE_INPUT%TYPE;
    v_sub_cat          PARKER.TEMP_PREFACE_BULLET.SL_3_SUB_CAT_NBR%TYPE;
    v_sl3_idn           PARKER.TEMP_PREFACE_BULLET.SL_3_IDN%TYPE;
    error_msg varchar2(300);
    begin
         v_sl3_idn := 'SL-3-11653A'  -- for testing purposes, will be filled from a global variable that the user inputs.
    open c_bullet;
    loop
    fetch c_bullet into v_bullet_nbr, v_bullet, v_date_input, v_sub_cat;
    exit when c_bullet%notfound;
    if (v_bullet_nbr <= 30) then
         insert into PARKER.TEMP_PREFACE_BULLET (sl_3_preface_bullet, sl_3_preface_date_input, sl_3_bullet_nbr, sl_3_sub_cat_nbr)
         values (v_bullet, v_date_input, v_bullet_nbr, v_sub_cat);
    end if;
    commit;
    end loop;
    close c_bullet;
    end;

  • ORA-14400  error

    when am loading the data to one infocube,I am gettin ORA-14400 error,Could any one of you please help me?

    ORA-14400: inserted partition key does not map to any partition
    Cause: An attempt was made to insert a record into, a Range or Composite Range object, with a concatenated partition key that is beyond the concatenated partition bound list of the last partition -OR- An attempt was made to insert a record into a List object with a partition key that did not match the literal values specified for any of the partitions.
    Action: Do not insert the key. Or, add a partition capable of accepting the key, Or add values matching the key to a partition specification

  • Error ORA-01461: can bind a LONG value only for insert into a LONG column

    Within an existing application , i need to create a new report , i created a new page in it and then tried to create classic report , during wizard when i enter the same query which i have used for previous page , it gives me following error during the creation of report.
    The following bind variable i have already used for previous page. I want to reuse the same bind variables. There is no any long dataype within column predicates.
    Error ORA-01461: can bind a LONG value only for insert into a LONG column
    OK
    Following is the query
    SELECT
       "VWSR_ALL_MERGED_DATA_MV"."SR_AREA" "SR_AREA",
       "VWSR_ALL_MERGED_DATA_MV"."SR_STATUS" "SR_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_SUB_STATUS" "SR_SUB_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_CREATED" "SR_DATE_CREATED",
       "VWSR_ALL_MERGED_DATA_MV"."SR_OPEN_DATE" "SR_OPEN_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CLOSED_DATE" "SR_CLOSED_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT1" "SR_PRODUCT1",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT2" "SR_PRODUCT2",
       "VWSR_ALL_MERGED_DATA_MV"."SR_TIO_PRIORITY" "SR_TIO_PRIORITY",
       "VWSR_ALL_MERGED_DATA_MV"."SR_REF_NUMBER" "SR_REF_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_RECD" "SR_DATE_RECD",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CIDN" "SR_CIDN",
       "VWSR_ALL_MERGED_DATA_MV"."SR_BUS_UNIT" "SR_BUS_UNIT",
       "VWSR_ALL_MERGED_DATA_MV"."SR_NUMBER" "SR_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SOURCE_SYSTEM" "SOURCE_SYSTEM",
       "VWSR_ALL_MERGED_DATA_MV"."BATCH_ID" "BATCH_ID"
    FROM VWSR_ALL_MERGED_DATA_MV
    WHERE trunc(VWSR_ALL_MERGED_DATA_MV.SR_DATE_RECD)=trunc(sysdate-1)
      AND VWSR_ALL_MERGED_DATA_MV.SR_TIO_PRIORITY  IN
                                                    :P2_SR_TIO_PRIORITY
                                                   ,'CEO'
                                                   ,'TER'
                                                   ,'Priority Assistance'
                                                   ,'Enquiry'
      AND   (
            (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                                         'Business Support and Improvement'
                                       , 'Finance and Administration'
                                       , 'Cust Sat Simplification and Productivity'
                                       , 'Project New and Customer Experience'
                                       , 'Corp Strategy and Customer Experience'
                                       , 'Other'
                AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('BS&I'))
       OR   (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                                         'Consumer'
                                       , 'Consumer Telstra Country Wide'
                                       , 'Customer Service and Sales'
                                       , 'Offshore Sales and Service'
                                       , 'TC and TCW Operations'
                                       , 'Telstra Country Wide'
                                       , 'Other'
                AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('TC&C'))
       OR   (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                             'Telstra Customer Sales and Service'                  
                            ,'Telstra Program Office'
                            ,'Human Resources'
                            ,'IT'
                            ,'Unallocated'
                            ,'Other'
                AND :P2_SR_BUSINESS_UNIT= 'OTHER')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                        'Telstra Operations'
                       ,'Telstra Networks and Services'
                       ,'Other'
                AND :P2_SR_BUSINESS_UNIT= 'TO')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Business'
                AND :P2_SR_BUSINESS_UNIT= 'TB')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Wholesale'
                AND :P2_SR_BUSINESS_UNIT= 'TW')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Enterprise and Government'
                AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('TE&G'))
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Sensis'
                     ,'Sensis Pty Ltd'
                AND :P2_SR_BUSINESS_UNIT= 'SENSIS')
    AND :P2_SR_TIO_PRIORITY = 'Level 0'
    UNION
    SELECT
       "VWSR_ALL_MERGED_DATA_MV"."SR_AREA" "SR_AREA",
       "VWSR_ALL_MERGED_DATA_MV"."SR_STATUS" "SR_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_SUB_STATUS" "SR_SUB_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_CREATED" "SR_DATE_CREATED",
       "VWSR_ALL_MERGED_DATA_MV"."SR_OPEN_DATE" "SR_OPEN_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CLOSED_DATE" "SR_CLOSED_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT1" "SR_PRODUCT1",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT2" "SR_PRODUCT2",
       "VWSR_ALL_MERGED_DATA_MV"."SR_TIO_PRIORITY" "SR_TIO_PRIORITY",
       "VWSR_ALL_MERGED_DATA_MV"."SR_REF_NUMBER" "SR_REF_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_RECD" "SR_DATE_RECD",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CIDN" "SR_CIDN",
       "VWSR_ALL_MERGED_DATA_MV"."SR_BUS_UNIT" "SR_BUS_UNIT",
       "VWSR_ALL_MERGED_DATA_MV"."SR_NUMBER" "SR_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SOURCE_SYSTEM" "SOURCE_SYSTEM",
       "VWSR_ALL_MERGED_DATA_MV"."BATCH_ID" "BATCH_ID"
    FROM
       VWSR_ALL_MERGED_DATA_MV
    WHERE trunc(VWSR_ALL_MERGED_DATA_MV.SR_DATE_RECD)=trunc(sysdate-1)
       and VWSR_ALL_MERGED_DATA_MV.SR_TIO_PRIORITY IN (:P2_SR_TIO_PRIORITY)
    AND  (
         (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN (
                         'Business Support and Improvement'
                       , 'Finance and Administration'
                       , 'Cust Sat Simplification and Productivity'
                       , 'Project New and Customer Experience'
                       , 'Corp Strategy and Customer Experience'
                       , 'Other'
    AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('BS&I'))
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN (
                         'Consumer'
                       , 'Consumer Telstra Country Wide'
                       , 'Customer Service and Sales'
                       , 'Offshore Sales and Service'
                       , 'TC and TCW Operations'
                       , 'Telstra Country Wide'
                       , 'Other')
    AND  :P2_SR_BUSINESS_UNIT= htf.escape_sc('TC&C'))
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                             'Telstra Customer Sales and Service'                  
                            ,'Telstra Program Office'
                            ,'Human Resources'
                            ,'IT'
                            ,'Unallocated'
                            ,'Other'
            AND :P2_SR_BUSINESS_UNIT= 'OTHER')
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                          'Telstra Operations'
                          ,'Telstra Networks and Services'
                          ,'Other'
            AND :P2_SR_BUSINESS_UNIT= 'TO')
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                         'Telstra Business'
            AND :P2_SR_BUSINESS_UNIT= 'TB')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Wholesale'
            AND :P2_SR_BUSINESS_UNIT= 'TW')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Enterprise and Government'
            AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('TE&G'))
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Sensis'
                     ,'Sensis Pty Ltd'
            AND :P2_SR_BUSINESS_UNIT= 'SENSIS')
    AND :P2_SR_TIO_PRIORITY = 'Level 1'Edited by: user13653962 on 30/01/2013 15:11
    Edited by: user13653962 on 30/01/2013 15:14

    You have an error in the code:
    1. you don't provide a value for 'what' - you have to tell Oracle what it should execute when it submits the job.
    And remember - with ISUBMIT the next_date parameter has datatype VARCHAR2 - SUBMIT uses datatype DATE. So make sure you provide a VARCHAR2 value and do not rely on implicit conversion.
    >
    PROCEDURE DBMS_JOB.ISUBMIT
    (job IN BINARY_INTEGER
    ,what IN VARCHAR2
    ,next_date IN VARCHAR2
    ,interval IN VARCHAR2 DEFAULT 'null'
    ,no_parse IN BOOLEAN DEFAULT FALSE);
    PROCEDURE DBMS_JOB.SUBMIT
    (job OUT BINARY_INTEGER
    ,what IN VARCHAR2
    ,next_date IN DATE DEFAULT SYSDATE
    ,interval IN VARCHAR2 DEFAULT 'null'
    ,no_parse IN BOOLEAN DEFAULT FALSE);

  • ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone

    Hi
    I'm trying to config my base_domain for SOA11g but i'm getting the following error when connecting to my Oracle XE DB to configure SOA,
    please help thanks
    Software installed
    OS: Windows 7 64bit
    DB: Oracle XE 10g
    Oracle SOA 11.1.1.4.0
    Oracle RCU 11.1.1.4.0
    Oracle wls1034_generic
    Error Detials
    Component Schema=SOA Infrastructure
    Driver=oracle.jdbc.xa.client.OracleXADataSource
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=User Messaging Service
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_ORASDPM
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OWSM MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where
                        owner=(select user from dual) and mr_type='MDS' and
                        version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=SOA MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OSB JMS Reporting Provider
    Driver=org.apache.derby.jdbc.ClientDriver
    URL=jdbc:derby://127.0.0.1:1521/XE;create=true;ServerName=127.0.0.1;databaseName=XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=SELECT 1 FROM SYS.SYSTABLES
    Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes.  The connection has been terminated.
    CFGFWK-60850:  Test Failed!

    Hi,
    Please check the timezone set in your server where Weblogic is installed. Also ensure the timezone on which your weblogic is running, the same is present in in database by querying V$TIMEZONE_NAMES table. If it is not present then please change the timezone of the server. then try to execute the steps what you are doing, it will not throw any error.
    if this helps please mark.
    Thanks,
    Kishore

  • ORA-00604: error occurred at recursive SQL level 1

    Hi,
    i have a view as source (DB2)
    Target table in Oracle with the same structure
    when i view data from the view all the records are listed.
    after mapping the source and target source gets fail while debuging (test data)
    and also while deploying the mapping i get the following error.
    Anyone knows about the following errors
    ACBLODS_MAP
    Create
    Warning
    ORA-06550: line 0, column 0:
    ORA-04052: error occurred when looking up remote object [email protected]@DB2_KAPIL_LOCATION
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this
    please someone help me to solve this
    thanks in advance
    regards
    raja

    I had a simular problem with progress. If the progress table had to many columns
    OWB was failing. The problem was the ODBC driver used to make a connection to PROGRESS.

Maybe you are looking for

  • CREATING A SEARCH IN JAVA USING MYSQL QUERY

    How do i create a seach in java using mysql queries. The search need to be like a good type one, whereby a category is typed and the results obtained via the search system using jtable. Thank you.

  • Trackpad / mouse click control degrades or corrupts within an hour or longer

    Basically, over an hour, sometimes longer - the click of the mouse / trackpad ceases to have any effect.  Using an external mouse, the left-click also has no effect.  Right-click on the external mouse / Ctrl-click on the trackpad generally continues

  • Select statement on table of objects

    My table is like this :- CREATE OR REPLACE TYPE VALUE_T AS OBJECT ( PROPERTYVALUE VARCHAR2(4000) ); CREATE OR REPLACE TYPE PROPERTY_T AS OBJECT ( PROPERTYNAME VARCHAR2(128) , PROPERTYVALUE VALUE_T ); CREATE TABLE TEMP ( SESSIONID , PROPERTY PROPERTY_

  • FUNCTION_IMPORT_INTERFACE Changed by SAP Upgrade

    Dear Experts, recently we had some new surpport package installed in our system, since then some transaction need more authority MR21  VL10D for example TCODEs runs a function  FUNCTION_IMPORT_INTERFACE in which a new peice of code was added: 68    c

  • SBOP XI 3.1 Edge Integration kit with SAP

    Hi All, Can any one tell me where can i find the integration guide for integrating SBOP XI 3.1 Edge with BW ? This is SBOP Edge and not Enterprise. I did search under http://help.sap.com/businessobjects/ but didnt not find it. Where can i find the In