ORA-01460: unimplemented or unreasonable conversion requested

Hi,
i have a problem with a insert statement
we use C# .net
our database server version is
Oracle Database 10g Client
The problem is:
When iam trying to insert records more than 248 it returns the "ORA-01460: unimplemented or unreasonable conversion requested" error. If the number of records are less than 248, then iam able to insert it successfully. Can u please suggest me what to do inorder to overcome with this.
iam using the following query to insert.
PROCEDURE PINSUPD_UNIT
pi_unit_info CLOB,
pi_user_id DPS_USER.USR_ID%TYPE,
po_unit_cur OUT unit_cur
) AS
v_xmlDoc      SYS.XMLTYPE;
v_xmlNode      SYS.XMLTYPE;
v_intXMLNodeCount      NUMBER;
v_UNIT_ID ECON_UNIT.UNIT_ID%TYPE;
v_DESCRIPTION ECON_UNIT.DESCRIPTION% TYPE;
v_NAME ECON_UNIT.NAME%TYPE;
v_UNIT ECON_UNIT.UNIT%TYPE;
v_sysdate DATE;
INVALID_XML EXCEPTION;
BEGIN
v_sysdate := TO_DATE( TO_CHAR(SYSDATE, 'DD/MM/YYYY HH:MI:SS AM'), 'DD/MM/YYYY HH:MI:SS AM');
-- To extract the Data from the XML Input
IF pi_unit_info IS NOT NULL AND pi_unit_info <> ' ' THEN
v_intXMLNodeCount := 1;
v_xmlDoc := SYS.XMLTYPE.CREATEXML(pi_unit_info);
WHILE SYS.XMLTYPE.ExistsNode(v_xmlDoc, '//Unit_Details[' || v_intXMLNodeCount || ']') = 1
LOOP
v_xmlNode := SYS.XMLTYPE.EXTRACT(v_xmlDoc, '//Unit_Details[' || v_intXMLNodeCount || ']');
v_UNIT_ID := 0;
v_UNIT_ID := TO_NUMBER(SYS.XMLTYPE.EXTRACT(v_xmlNode, '//Unit_ID/text()').getStringVal(),'99999999999999999999999999999999999999');
v_DESCRIPTION := '';
v_DESCRIPTION := SYS.XMLTYPE.EXTRACT(v_xmlNode, '//Description/text()').getStringVal();
v_NAME := '';
v_NAME := SYS.XMLTYPE.EXTRACT(v_xmlNode, '//Name/text()').getStringVal();
v_UNIT := '';
v_UNIT := SYS.XMLTYPE.EXTRACT(v_xmlNode, '//Unit/text()').getStringVal();
IF v_UNIT_ID = 0 THEN
--To insert the Unit Details
INSERT INTO
ECON_UNIT
UNIT_ID,
NAME,
UNIT,
DESCRIPTION,
USR_ID,
LAST_UPDATED_DATE
VALUES
SEQ_UNIT.NEXTVAL,
v_NAME,
v_UNIT,
v_DESCRIPTION,
pi_user_id,
v_sysdate
DBMS_OUTPUT.put_line(v_name);
ELSE
--To update the Unit details
UPDATE
ECON_UNIT
SET
NAME = v_NAME,
UNIT = v_UNIT,
DESCRIPTION = v_DESCRIPTION,
USR_ID = pi_user_id,
LAST_UPDATED_DATE = v_sysdate
WHERE
UNIT_ID = v_UNIT_ID;
DBMS_OUTPUT.put_line(v_name);
END IF;
v_intXMLNodeCount := v_intXMLNodeCount + 1;
END LOOP;
OPEN po_unit_cur FOR SELECT * FROM ECON_UNIT;
ELSE
RAISE INVALID_XML;
END IF;
i know it is a known problem, but still iam trying a lot to overcome it.

I believe, PL/SQL has a limitation of 32K characters for a LONG parameter.

Similar Messages

  • ORA-01460: unimplemented or unreasonable error & OPEN-FOR statement ...

    Hi,
    I have a procedure that opens a cursor which returns a result set based on a dynamic SELECT statement. The IN clause
    in most cases needs to handle more than 1000 expressions. So to avoid the ORA-01785 error, I use a function to
    convert the comma separated list of ids (which are unknown) into a collection which can then be used in the sub query
    to process each expression or id. I assumed that the maximum string length I could use for these list of ids was
    32767, i.e. VARCHAR2. But f I attempt to open the cursor with a list of ids where the string length is greater than 4000 bytes , the cursor is invalid
    and it seems to throw the following Oracle error:
    ORA-01460: unimplemented or unreasonable conversion ...
    Note that anything less than 4000 bytes is fine. I have attached some of the code below and would appreciate if anyone
    could tell me what im doing wrong! For example, can a varchar2 variable greater than 4000 bytes not be used when
    executing dynamic SQL in the context of the OPEN-FOR statement?
    -- Create type to hold collection of identifiers.
    CREATE OR REPLACE TYPE IDList IS TABLE OF NUMBER;
    -- Function which converts a string of comma separated list of identifiers
    -- into a collection.
    CREATE OR REPLACE FUNCTION fnConvertIDListToCollection(
         varList IN VARCHAR2,
         varDelimiter IN VARCHAR2 DEFAULT ',')
    RETURN IDList
    IS
         varString long := varList || varDelimiter;
         varPos pls_integer;
         varData IDList := IDList();
    BEGIN
         LOOP
              varPos := instr(varString, varDelimiter);
              EXIT WHEN (nvl(varPos, 0) = 0);
              varData.extend;
              varData(varData.count) := trim(substr(varString, 1, varPos - 1));
              varString := substr(varString, varPos + 1);
         END LOOP;
         RETURN (varData);
    END;
    CREATE OR REPLACE PROCEDURE MyTestProc
    myCursor OUT SYS_REFCURSOR
    AS
    varListOfIds VARCHAR2(32767);
    BEGIN
         -- Hard coding this for now but this will be an incoming parameter containing a list
         -- of unknown ids, separated with commas.
         varListOfIds := '1,2 .. , 5000';
         OPEN myCursor FOR
         'SELECT     DISTINCT val1, val2, val3
         FROM TABLEA
         WHERE     val1 IN (select * from table(cast(fnConvertIDListToCollection(:ListOfIds) as IDList)))' USING varListOfIds;
    END;
    /

    APC,
    Many thanks for the suggestion and yes I could possibly implement an alternative solution, certainly for some cases but I need to investigate further for others. I'm migrating some SQL Server logic over to Oracle and that was simply the approach taken on that platform.
    Could I trouble you with one further question as a newbie to all of this. I hinted in my last response that I was somewhat confused over the limits with the use of varchar2 variables in PL/SQL. If I were building up a piece of dynamic SQL (e.g. SELECT statement including a WHERE clause) using an incoming VARCHAR2 parameter for the WHERE clause, can this parameter contain more than 4000 bytes if necessary. I assumed it could be as big as 32767 bytes but an earlier response suggested a maximum of 4000 bytes. Really sorry for probably a fairly basic Oracle question but it would be very appreciated if you could explain this to me.
    Again, many thanks.

  • Stored procedure - insert clob obj - error msg: ORA-01460: unimplemented

    Hi all,
    I have a situation where I want to insert a clob object to my local table via a stored procedure. The clob object stores large amount of text. The clob data is populated from retrieving content in an external text file. When executing an insert statement in c# code, the information was inserted successfully. when executing the stored procedure to insert the information, i always get "ORA-01460: unimplemented or unreasonable conversion requested". I use ReadToEnd() from StreamReader class to retrieve the context of the external text file. Does anyone know why Oracle behaves this way? Thanks for helping in advance.
    TABLE DEFINITION FOR CLOB_TEST
    Name       Type         Nullable Default Comments
    PKG_NAME   VARCHAR2(50) Y                        
    PKG_DESC   CLOB         Y                        
    PKG_FAM_ID NUMBER       Y                        
    STORED PROCEDURE
    procedure InsertTempReleaseTable(p_name        in varchar2,
                                       p_description in clob,
                                       p_fam_id      number) is
      begin
        insert into clob_test
          (pkg_name, pkg_desc, pkg_fam_id)
        values
          (p_name, p_description, p_fam_id);
      end InsertTempReleaseTable;
    RETRIEVE CONTENT FROM A TEXT FILE
    public string GetTextFileContents(string path)
                using (StreamReader sr = new StreamReader(path))
                      return (sr.ReadToEnd());
    C# INVOKE STORED PROCEDURE TO INSERT
    using (OracleCommand cmd = (OracleCommand)database.GetStoredProcCommand("pkg_sptbuildstatus.InsertTempReleaseTable"))
                    cmd.Parameters.Add("p_name", OracleType.VarChar, 255).Value = obj.PackageName;  // string  
                    cmd.Parameters.Add("p_description", OracleType.Clob).Value = obj.ChangeDescription; // string
                    cmd.Parameters.Add("p_fam_id", OracleType.Number).Value = obj.FamilyId; // int
                    database.ExecuteNonQuery(cmd);
                }Edited by: user8976335 on Jan 11, 2010 4:28 PM
    Edited by: user8976335 on Jan 11, 2010 4:59 PM
    Edited by: user8976335 on Jan 11, 2010 4:59 PM
    Edited by: user8976335 on Jan 12, 2010 10:48 AM

    It's possible it doesn't like the name of your variables (being the same as the table), it's good practice to not do that.
    Much better would be.
    procedure InsertTempReleaseTable
       p_name in varchar2,
       p_description in clob,
       p_fam_id number
    is
    begin
       insert into clob_test
          (name, description, fam_id)
       values
          (p_name, p_description, p_fam_id);
    end InsertTempReleaseTable;Your Oracle version is typically of immense help.
    select * from v$version;Also, using the tags will keep the formatting of your code.
    If this isn't any help, can you post a working example of your example ? Where the code breaks (which call).
    Edited by: Tubby on Jan 11, 2010 3:50 PM
    Edited by: Tubby on Jan 11, 2010 3:51 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ORA-01460 error only in production enviorment in ADF 11g application

    Hi ,
    We are using ADF 11g rel 1 11.1.1.4.0
    And database is
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE 11.2.0.1.0 Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    All our enviornments are running the same database
    But when we are deploying the application in Production we get the Error
    JBO-27122: SQL-fejl under forberedelse af sætning. Sætning:
    select DB_TST_API.test_proc(Id1, id2) from table;
    ## Detail 0 ##
    java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested
    While executing the query which has a call tp API and input variable
    select DB_TST_API.test_proc(Id1, id2) from table;
    The DB function is defined as
    the FUNCTION test_proc(p_value IN VARCHAR2, p_list IN VARCHAR2) RETURN number;
    The input parameter is only 10 digit integer in ADF application, there is a logical difference that the DB function takes a string and ADF is supplying with Integer, but the code has worked before and has suddenly started giving this error
    The code also works fine on all other test eviornments
    Also the sql query when run from sql devleoper on production DB does not give any error
    Its becoming difficult to find out what could be causing this only on production enviornment

    In ANY case, I'd be using explicit conversions here, not implicit ones, so my recommendation would be one of these:
    a). Use TO_CHAR on the input
    b). Use Java to convert the integer to a string
    c). Change the functionto take a NUMBER as the parameter (if it really is a number)
    d). Write a wrapper for the function. The wrapper should take a number and convert it using TO_CHAR and call the real function
    John

  • ORA-01460 and ORA-02063 errors in form built on a view

    We have built an apex form on a view against a remote database (via dblink).
    Running the page brings back data as desired.
    However, clicking on the "edit icon" to make updates results in:
    ORA-01460: unimplemented or unreasonable conversion requested ORA-02063: preceding line from my_dblink
    I have searched and cannot seem to locate a fix. Can anyone provide a solution or further steps to troubleshoot?
    Thanks in advance.

    Right now you will be able to base a portal form only on updatable views. Non updatable views are not supported.
    As a work around you can use QBE reports to query the data, without having the delete and update links.
    Regards,
    Sunil.
    null

  • Error ORA-01460 warning ORA-01461 during running a mapping with parameters

    Oracle 10g release2(10.2.0.1.0), OWB 10.2.0.1.31, Workflow server 2.6.4
    I have a simple process flow ( start -> mapping -> end).
    The mapping consists of 4 input groups(3 ordinary tables<INGRP1, INGRP2, INGRP3> and 1 mapping input parameter operator <INGRP4>), a joiner, a filter, an expression operator and 1 output group.
    I want to use two variables in join condition, so I bound two mapping input parameters(<INGRP4.SRC_SYS_CDE> and <INGRP4.ADMIN_ORG_NUM>) with two parameters of the process flow's start activity.
    Those two mapping input parameters are of type char, one is 4-char long and the other is 2-char long. So I set both of the two parameters of the start activity as String, one as 08, another as 7504.
    My join condition is:
    INGRP1.ORGIDT = INGRP2.SOURCEORGANIZATIONNO AND
    INGRP2.SOURCESYSTEMCODE = INGRP4.SRC_SYS_CDE AND
    INGRP2.ADMINORGANIZATIONNO = INGRP4.ADMIN_ORG_NUM AND
    INGRP1.CURCDE = INGRP3.NUM(+)
    There are no errors and warnings in validation, generation and deployment process, but when I run the process flow, it always finishes blankly(zero insert) with no error and warning messages. It should insert more than 20,000 rows.
    When I run the mapping and set the parameters 08 and 7504 at the parameter prompt, then start, the following error and warning occurs.
    Error ORA-01460: unimplemented or unreasonable conversion requested
    Warning ORA-01461: can bind a LONG value only for insert into a LONG column
    So what's the problem? How can I fix it?

    The problem was mapping input parameter type.
    VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't.

  • Oracle ADF: ORA-01460 4000 chars problem

    Hello,
    please excuse my bad english. I hope you will understand what I mean.
    I hope I'am right here with my Problem:
    I hava a web application written with Oracle ADF in jDeveloper. A View-Object contains the SQL-Statemant to search with a bind variable (Type: String) and uses Oracle Text.
    WHERE contains(Index, :mySearchString, 1) > 0
    Java generates the String (Type: String) that might have a length of 12 chars, 1234 chars or maybe something about 4000 chars.
    If the String is below 4000 chars, there is no problem.
    But if he exceeds the 4000 chars I get a exception with the message "ORA-01460:     unimplemented or unreasonable conversion requested".
    How to execute this statement with a String longer than 4000 chars?
    Could someone help me?
    I am at my wit's end.
    Thank you!
    DB: Oracle 10g Enterprise Edition (10.1.0.4.2)
    JDBC Version: 10.1.0.5
    Greetings
    One

    Thank you! Good to know that it isn't impossible to enhance this.
    I wrote a sql function:
    create or replace function mysearch(p_arg varchar2)return sys_refcursor is
    l_resultset sys_refcursor;
    begin
    open l_resultset for select ... from ... where contains(attribut, p_arg);
    return l_resultset;
    end;
    and create a View-Object. This View-Object has the follwing SQL-Statement:
    SELECT mysearch(:p_arg) AS MY_SEARCH FROM DUAL
    but no attributes! And the Object which I get has only 1 row. It should contains about 9000.
    And I get anyway the message "ORA-01460:     unimplemented or unreasonable conversion requested".
    In a PL/SQL context varchar2 can be 32KB!? Or not?
    Is this a ADF Problem? :-( (I hope so! If not: SORRY)

  • Work around/Alternate solution for Oracle error  ORA-01460 and ORA-02063

    After the installation of Oracle.DataAccess version 2.111.7.20, I get the following error.(the code worked fine with Oracle.DataAccess version 9.2.0.700 )
    I have attached the error as well as the sample code.
    ORA-01460 and ORA-02063 are known bugs in the new ODP but would like to know if there is any Work around/Alternate solution for this problem(other than
    the use of stored procs)..
    Thanks!
    Error:
    ORA-01460: unimplemented or unreasonable conversion requested
    ORA-02063: preceding line from BSREAD_STAGINGRO at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()
    SampleCode
    private bool isValidFieldData(string clientName, string fieldNumber, string uniqueID, string clientID)
    using (OracleConnection mBSConnection = new OracleConnection(mBSConnectionString))
    OracleDataReader oRdr = null;
    OracleCommand Valid_FieldData_Command = null;
    try
    Valid_FieldData_Command = new OracleCommand();
    Valid_FieldData_Command.Connection = mBSConnection;
    Valid_FieldData_Command.CommandText = "SELECT uniqueid FROM EXTDB.BSData WHERE agencyid = :agencyid and agencyname=:agencyname AND fieldnumber =:fieldnumber AND uniqueid = :uniqueid";
    Valid_FieldData_Command.Parameters.Add(":agencyid", OracleDbType.Varchar2, 255).Value = agencyID;
    Valid_FieldData_Command.Parameters.Add(":agencyname", OracleDbType.Varchar2, 255).Value = agencyName;
    Valid_FieldData_Command.Parameters.Add(":fieldnumber", OracleDbType.Varchar2, 255).Value = fieldNumber;
    Valid_FieldData_Command.Parameters.Add(":uniqueid", OracleDbType.Varchar2, 255).Value = uniqueID;
    mBSConnection.Open();
    oRdr = Valid_FieldData_Command.ExecuteReader(); ->Error occurs here
    The error occurs whenever the length of any of the parameter is increased. But there is no specific length where it is breaking down.
    For example in this case, it breaks down with the given error if
    agencyID > 8
    agencyName > 6
    fieldNumber > 9
    uniqueid > 6

    The problem was mapping input parameter type.
    VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't.

  • Image Upload error ora-01460:

    Hi to all,
    I am doing a development in .Net to upload the Image.
    I tried using to upload Image using Oracle Client Connectivity provided by .Net. I am able to upload the Image of any size upto 4GB on Blob field.
    I tried using the same thing just changing the connectivity to OLEDB and tried to upload the Image but I'm getting the error as ora-01460: unimplemented or unreasonable conversion requested for Image file size greater than 32K.
    What would be the possible causes for this.. I posted below my table structure and the procedure involved in the uploding the picture.
    Name Null? Type
    ID NUMBER
    IMAGE_FILENAME VARCHAR2(500)
    IMAGE BLOB
    MIME VARCHAR2(4000)
    FILENAME VARCHAR2(4000)
    Procedure
    CREATE OR REPLACE PROCEDURE DBO.SP_UPLOAD_FILE(P_ID IN NUMBER, P_FILENAME IN VARCHAR2, P_MIME IN VARCHAR2, P_PICTURE IN BLOB) AS
    BEGIN
    UPDATE TEMP_IMAGE SET IMAGE = P_PICTURE, FILENAME = P_FILENAME, MIME = P_MIME
    WHERE ID= P_ID;
    END;
    Please post your suggestions..
    Thanks and Regards,
    Vijayaraghavan K

    What would be the possible causes for this.OLEDB?
    Did you post the entire error message or did you just cut out the ORA-01460 part?
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:481421535472#72682112997104

  • ORA-03001: unimplemented feature (SQLDev 1.5.0.53.38)

    Hi,
    I found this error:
    An error was encountered performing the requested operation:
    ORA-03001: unimplemented feature
    03001. 00000 - "unimplemented feature"
    *Cause:    This feature is not implemented.
    *Action:  None.
    Error at Line:1 Column:53
    when I was trying to execute the following query:
    select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) -
    (sum(decode(:dummy, 'TAX', 6, 0)) +
    sum(decode(:dummy, 'RETN', 2, 0)))
    from dual;
    seems like a bug to me, I don't know, that's why I'm opening this thread.

    Hi sartigas ,
    It is the continuation character '-' feature:
    Input:
    variable dummy varchar2
    begin
    :dummy := 'TAX';
    end;
    select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) -
    (sum(decode(:dummy, 'TAX', 6, 0)) +
    sum(decode(:dummy, 'RETN', 2, 0)))
    from dual;
    select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) - /* */
    (sum(decode(:dummy, 'TAX', 6, 0)) +
    sum(decode(:dummy, 'RETN', 2, 0)))
    from dual;
    Output:
    anonymous block completed
    Error starting at line 6 in command:
    select (1000 -sum(decode(:dummy, 'CASH', 15, 7))) (sum(decode(:dummy, 'TAX', 6, 0)) +
    sum(decode(:dummy, 'RETN', 2, 0)))
    from dual
    Error at Command Line:6 Column:51
    Error report:
    SQL Error: ORA-03001: unimplemented feature
    03001. 00000 - "unimplemented feature"
    *Cause:    This feature is not implemented.
    *Action:   None.
    (1000-SUM(DECODE(:DUMMY,'CASH',15,7)))-/**/(SUM(DECODE(:DUMMY,'TAX',6,0))+SUM(DECODE(:DUMMY,'RETN',2,0)))
    987
    1 rows selected
    -Turloch

  • ORA-01460 at REPLACE for strings longer than 4000 characters

    the following code works fine for vVar_Value less than 4001 characters but raises an ORA-01460 for strings equal to or larger than 4001 characters in my environments.
    declare
    vVar_Value VARCHAR2(32000) := '';
    begin
    for i in 1..4000 loop
    vVar_Value := vVar_Value||'X';
    end loop;
    dbms_output.Put_Line('length(vVar_Value): '||length(vVar_Value));
    SELECT REPLACE( vVar_Value, 'NO_MIDDLE_NAME', '') INTO vVar_Value FROM DUAL;
    exception
    when others then
    raise;
    end;
    any advice would be most apprectiated.
    thanks in advance.

    Why the heck are you using select from dual?
    Just use vVar_Value := REPLACE( vVar_Value, 'NO_MIDDLE_NAME', ''); and everything will be OK
    in SQL limit for varchar2 is 4K, only in PL/SQL you can use 32K
    Gints Plivna
    http://www.gplivna.eu

  • Your PDF conversion request failed.

    Everytime I try to combine my PDF's I keep getting a message that says Your PDF Conversion Request Failed.

    Hi,
    Please let me know if your files are big. complex, or image files?
    If you sill have the same error message then please share your files with us so that we can look at them using below site: 
    https://adobeformscentral.com/?f=qJiclooYWGGNFtWfj8g3wg#
    Thank you.
    Hisami

  • I am getting an error message when I try to combine three PDF files"Your PDF conversion request fail

    I am getting an error message when I try to combine three PDF files "Your PDF conversion request failed. Try again later" 
    Thank you,
    Lori Jans

    Hi,
    Please let me know if your files are big. complex, or image files?
    If you sill have the same error message then please share your files with us so that we can look at them using below site: 
    https://adobeformscentral.com/?f=qJiclooYWGGNFtWfj8g3wg#
    Thank you.
    Hisami

  • PL/SQL: ORA-03001: unimplemented feature

    hi i am just trying to understand the bulk binding feature of oracle
    this is the test code that i am trying
    set serveroutput on
    set timing on
    declare
    src_obj src;
    begin
    SELECT srcip BULK COLLECT INTO src_obj
    FROM rawcdr ;
    insert into rawcdr1(srcip) values src_obj;
    end;
    i am using oracle 10 g std edition
    and i get this error
    insert into rawcdr1(srcip) values src_obj;
    ERROR at line 6:
    ORA-06550: line 6, column 25:
    PL/SQL: ORA-03001: unimplemented feature
    ORA-06550: line 6, column 5:
    PL/SQL: SQL Statement ignored
    is it something related to the db version
    or i m misin on basics
    please help

    hey thanks william
    it does work but why was it giving unimplemented feature before
    SRC by the way is table type .
    now i want to perform some string function on the returned data
    what i tried was
    SELECT srcip BULK COLLECT INTO src_obj
    FROM rawcdr
    WHERE srcip='220.227.46.130';
    FORALL i IN src_obj.FIRST..src_obj.LAST
    if (instr(src_obj(i),'00')=5) then
    INSERT INTO rawcdr1 (srcip) VALUES (src_obj(i));
    end if;
    i get this error
    if (instr(src_obj(i),'00')=5) then
    ERROR at line 7:
    ORA-06550: line 7, column 6:
    PLS-00103: Encountered the symbol "IF" when expecting one of the following:
    . ( * @ % & - + / at mod remainder rem select update with
    <an exponent (**)> delete insert || execute multiset save
    merge
    ORA-06550: line 11, column 0:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    end not pragma final instantiable order overriding static
    member constructor map
    Elapsed: 00:00:00.03
    is it not possible to use the string function in this context
    please help whats the right way to do the same

  • ORA-03001: unimplemented feature. How to find the reason.

    RDBMS version: 10.1.0.5.0
    Sometimes our application raise the error ORA-03001.
    We need to get more information about the problem because we are not able to find the reason of this error.
    Someone suggests me to set the event:
    alter system set event = '3001 trace name ERRORSTACK level 3' SCOPE=SPFILE
    What do you think about it?
    Edited by: user600979 on 14-ago-2009 5.36

    user600979 wrote:
    RDBMS version: 10.1.0.5.0
    Sometimes our application raise the error ORA-03001.
    We need to get more information about the problem because we are not able to find the reason of this error.
    Someone suggests me to set the event:
    alter system set event = '3001 trace name ERRORSTACK level 3' SCOPE=SPFILEI'm not sure if setting this event will help but you can test it!
    First of all the SCOPE=SPFILE will require to bounce the database. You might first consider setting and testing the event in Memory.
    Then you can run a little script to see if the error is trackable and if the tracked information is useful.
    SQL> create procedure test_error as
      2       e_test_error exception;
      3       pragma exception_init (e_test_error, -3001);
      4  begin
      5       raise  e_test_error;
      6  end;
      7  /
    Procedure created.
    SQL> 
    SQL> execute test_error;
    BEGIN test_error; END;
    ERROR at line 1:
    ORA-03001: unimplemented feature
    ORA-06512: at "CDM_USER.TEST_ERROR", line 5
    ORA-06512: at line 1
    SQL> Then check the alert log/trace whatever you use.

Maybe you are looking for

  • You are my only hope...

    I'm very disappointed of WLS (and JDeveloper). Coming from a SJAS background I find that WLS does not enjoy even half the community support of SJAS, and the worst thing is that even WebLogic isn't making a big deal of documentation. So in wan to secu

  • Smart Performance Issue

    Hi All, I have 2 servers where i see the proformance issue with the smart view. on Test server the smart view takes just 50 Seconds to display the Data On Production Server it takes approx 31 Minutes to Display the data Any idea where i need to look

  • Report drill-down

    Hi I am having an unsual case. We are executing a standard reports profit centre report that we used to drill-down before. Today, it is acting differnet. For e.g there is a balance appearing for a GL account where the total as at end of the period is

  • PS Touch for phone Google Play Market problems

    Google play market doesn't allow install PS Touch for phone. It says that my phone is not compatible with this application. I bought this application earlier, reinstalled operation system and now have such problem. What should I do? Phone is Samsung

  • HANA as a Oracle Data Source via dblink

    Has anyone configured Oracle dblink to connect to HANA? I am trying to help out the Oracle DBA. It looks like Oracle documentation on dblink shows it uses ODBC. Any tips would be great. Thanks.