Getting ORA-03001 on cube query

I am getting a ORA-03001 error on the following query - I am utlizing a cube query and the main data view (subquery) is using a connect by. I believe it is the connect by which is causing the problem as I have tried the query with the table data (BASEDATA) and it works fine. I also tried removing the having clause, and that worked. Looks like a bug. I am on 10gR2.
SELECT progm.attrib_id,NH.workstream1_parent_id, nh.cost_type, nh.cost_benefit, eh.expense_majorgroup_id, eh.expense_group_id, b.year_,b.period_id, b.measure, data_type_id,
Sum(Value) value
,grouping_id( b.cost_centre_id, NH.workstream1_parent_id, progm.attrib_id) NH_ID
,grouping_id( b.Expense_type_id, EH.expense_group_id, EH.expense_majorgroup_id) EH_ID
,grouping_id( b.year_,period_id) yRPER_ID
,grouping_id( nh.cost_Type, nh.cost_benefit) Cost_ID
FROM projectmeasure_data B, nomlocationhierarchy NH, nomexpenseshierarchy EH
, (SELECT workstream1_parent_id, wspa.attrib_id FROM workstream1_parent_attrib WSPA inner join
attributes AA ON WSPA.attrib_id=AA.attrib_id WHERE attribType_id=28) Progm
WHERE B.cost_centre_id=nh.cost_centre_id AND
b.expense_type_id=eh.expensetype_id AND
b.measure_id=cm.measure_id AND
progm.workstream1_parent_id=nh.workstream1_parent_id
group BY b.measure, b.data_type_id,
cube ( b.cost_centre_id, nh.workstream1_parent_id, progm.attrib_id,
b.expense_type_id, eh.expense_group_id, eh.expense_majorgroup_id,
b.YEAR_,period_id, nh.cost_type, nh.cost_benefit)
HAVING
(grouping_id( b.cost_centre_id, NH.workstream1_parent_id, progm.attrib_id) IN (4,6,7))
AND
(grouping_id( b.Expense_type_id, EH.expense_group_id, EH.expense_majorgroup_id) IN (4,6,7) )
AND
( grouping_id( b.year_, b.period_id) IN (3,1,0))
AND
(grouping_id( nh.cost_Type, nh.cost_benefit) in (1,0))
where
ProjectMeasure_data is
SELECT
A.Cost_Centre_ID,
A.Expense_Type_ID,
A.Period_ID,
A.Year_,
A.Data_Type_ID,
M.RptSlot AS Measure,
A.Value,
H.Measure_ID
FROM ( SELECT Cost_Centre_ID, Expense_Type_ID, Period_ID, Year_, Data_Type_ID, measure_id, BASEDATA.Value
FROM BASEDATA
WHERE ((Year_=2004 AND Measure_ID=1) or ( Year_ >= 2005)) and BASEDATA.Data_Type_ID in (1,2) ) A , qrycurrentmeasures M,
(select connect_by_root(measure_id) root_id, measure_id, CASE LEVEL WHEN 1 THEN switch_year*100+switch_per ELSE Decode(PRIOR(end_period),13,PRIOR(end_year)+1,PRIOR(end_year))*100+Decode(PRIOR(end_period),13,1,PRIOR(end_period)+1) END switchyrper, PRIOR(end_year)*100+PRIOR(end_period) prior_endyrper, end_year*100+end_period endyrper, LEVEL D
FROM measuretypes
CONNECT BY NOCYCLE PRIOR future_measure_id = measure_id
union
SELECT root_id, measure_id, switchyrper, prior_endyrper, endyrper, D FROM
(SELECT connect_by_root(measure_id) root_id, measure_id, switch_year*100+switch_per switchyrper, Decode(end_period,1,end_year-1,end_year)*100+Decode(end_period,1,13,end_period-1) prior_endyrper, Decode(PRIOR(switch_per),1,PRIOR(switch_year)-1,PRIOR(switch_year))*100+Decode(PRIOR(switch_per),1,13,PRIOR(switch_per)-1) endyrper, LEVEL D
FROM measuretypes
CONNECT BY NOCYCLE PRIOR hist_measure_id = measure_id) WHERE D <> 1
) H
WHERE
(m.measure_id=H.root_id) AND
(H.measure_id=a.measure_id ) AND
( (yearperiod(a.year_,a.period_id) BETWEEN H.switchyrper AND h.endyrper) OR
(h.switchyrper IS NULL AND yearperiod(a.year_,a.period_id) <= h.endyrper) )
I ended up using a temporary table to store the results of projectmeasure_data. Does anyone know a way around this? to me it looks like a bug.

I'm still wondering about this one.

Similar Messages

  • Getting ORA-01403 in dba_segments query during a trigger

    Hi, Everyone --
    I need to set up a process which will automatically start Oracle auditing on a table when it's created on a particular tablespace.
    I've created an "after create on database" DDL trigger which will fire when (ORA_DICT_OBJ_TYPE = 'TABLE').
    In this trigger, I use the DBMS_STANDARD package trigger attribute functions in a query against the dba_segments view to check if the new
    table has been created in the targeted tablespace. Here' the query:
    SELECT DISTINCT s.tablespace_name
    INTO tablespace_name
    FROM sys.dba_segments s
    WHERE s.owner = ORA_DICT_OBJ_OWNER
    AND s.segment_name = ORA_DICT_OBJ_NAME
    AND s.segment_type IN ('TABLE', 'TABLE PARTITION')
    AND s.tablespace_name = target_tablespace_name;
    The only purpose of this query is to make sure that that table is contained in the targeted tablespace identified by the "target_tablespace_name" constant variable used in the WHERE clause. If the query runs without error, then my trigger creates a DBMS_SCHEDULER job that executes an "audit" command to start Oracle auditing on the new table.
    To test the trigger, within the trigger code, I put the query inside a PL/SQL block with a "WHEN OTHERS" exception clause that will send formatted error detail to the alert log. Then I successfully create a test table on the targeted tablespace. The trigger fires, but the output shows that the query in my trigger failed with an "ORA-01403: no data found" error, indicating that the dba_segments view contains no records showing that the new table is on the targeted tablespace.
    But when, in an already opened PL/SQL session, I immediately run the same query (with the appropriate literals in place of the trigger attribute functions) then the query works with the name of the tablespace returned as expected!
    I tried an experiment with the trigger running the same query against the dba_tables view instead of the dba_segments view. It worked without error. The only problem is that if your create a partitioned table, the "tablespace_name" column in the dba_table view is NULL (which makes sense when the various table partitions can be contained in different tablepsaces). So, unfortunately, in the case of creating partitioned tables, the purpose of the query would be defeated.
    Why does the trigger work when it queries the dba_tables view, but fails when it queries the dba_segments view? Is there a timing issue which causes a lag between the time the table is created and the time that the dba_segments view is updated? Would the trigger fire inside this time lag, thus causing the dba_segments query to fail? Or is there another explanation?
    Thanks in advance for any advice you can give me!

    Hi, Solomon --
    Thanks for the confirmation! I forgot to mention in my original post that I'm running this on 11.1.0.7.
    To test the hypothesis that it's a timing issue, I put a hefty "for loop" before the dba_segments query in the code of the trigger. It caused the trigger to spin its wheels for a few seconds before it ran the query. But this didn't help, because I got the ORA-01403 error again.
    So it must not be a timing issue after alll. Perhaps the dba_segments query isn't updated until all triggers associated with the table creation have completed. Just guessing.
    Anybody know the reason for this?
    Cheers!
    --JP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error- ORA-03001: unimplemented feature

    Hi,
    I am getting ORA-03001:unimplemented feature error in my code.My code is generatiing a clob object.
    I have used(Xmlelement
    "ABC",
    Xmlforest
    nvl(to_char(Column_name, 'HHMMSS' ),' ')
    The same code is working in other database.But in my current Database i am getting the above error.And moreover both the database has same version(11g release2)
    Can any one please let me know what might be the root cause whether any utility pkg is not installed properly or any other issue.

    Post exact version and a snippet of SQL*Plus showing your statement along with all errors. For example:
    SQL> select  *
      2    from  v$version
      3  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> select Xmlelement(
      2                    "ABC",
      3                    Xmlforest(
      4                              nvl(to_char(hiredate,'HHMMSS' ),' ') d
      5                             )
      6                   )
      7    from  emp
      8  /
    XMLELEMENT("ABC",XMLFOREST(NVL(TO_CHAR(HIREDATE,'HHMMSS'),'')D))
    <ABC><D>121200</D></ABC>
    <ABC><D>120200</D></ABC>
    <ABC><D>120200</D></ABC>
    <ABC><D>120400</D></ABC>
    <ABC><D>120900</D></ABC>
    <ABC><D>120500</D></ABC>
    <ABC><D>120600</D></ABC>
    <ABC><D>120400</D></ABC>
    <ABC><D>121100</D></ABC>
    <ABC><D>120900</D></ABC>
    <ABC><D>120500</D></ABC>
    XMLELEMENT("ABC",XMLFOREST(NVL(TO_CHAR(HIREDATE,'HHMMSS'),'')D))
    <ABC><D>121200</D></ABC>
    <ABC><D>121200</D></ABC>
    <ABC><D>120100</D></ABC>
    14 rows selected.
    SQL> SY.

  • Do I need a sub-query and getting ORA-00937 error

    I'm writing a query where I want returned all data that is in a list 510 and all duplicate entries for the AID are eliminated.
    select *
    from entities e
    where e.list_id in
    (select aid
    from entities e
    where e.list_id = 510
    having count(e.aid) > 1);
    When I run this, I get ORA-00937: not a single-group group function.
    I google the error and see
    http://ora-00937.ora-code.com/
    Which tells me I can't have a group function and individual column expression.
    So I removed the group by, but I still get the errors, and for some reason when I put the alias e for the aid in the subquery, I still get the same error.
    Hopefully this makes sense what I'm asking...
    thanks

    if you want to select rows that eliminate duplicates then you should be using distinct. And if you want to get the duplicate rows then,
    select *
    from entities e1
    where e1.rowid <
    (select max(e2.rowid)
    from entities e2
    where e2.list_id = 510
    and e1.aid = e2.aid);

  • Why do i get ORA-03113 when doing a spatial query against union all view?

    Hi, i created the following view
    CREATE OR REPLACE FORCE VIEW cola_markets_v
    AS
      (SELECT mkt_id, NAME, shape shape_a, NULL shape_b, NULL shape_c,
              NULL shape_d
         FROM COLA_MARKETS
        WHERE NAME = 'cola_a')
       UNION ALL
      (SELECT mkt_id, NAME, NULL shape_a, shape shape_b, NULL shape_c,
              NULL shape_d
         FROM COLA_MARKETS
        WHERE NAME = 'cola_b')
       UNION ALL
      (SELECT mkt_id, NAME, NULL shape_a, NULL shape_b, shape shape_c,
              NULL shape_d
         FROM COLA_MARKETS
        WHERE NAME = 'cola_c')
       UNION ALL
      (SELECT mkt_id, NAME, NULL shape_a, NULL shape_b, NULL shape_c,
              shape shape_d
         FROM COLA_MARKETS
        WHERE NAME = 'cola_d');added the necessary entries in USER_SDO_GEOM_METADATA and created a spatial index on COLA_MARKETS (SHAPE). However, when i do a spatial query against this view, i get ORA-03113. A spatial query against the base table works fine. Any ideas why this happens? (This is Oracle 10.2.0.3.0)
    Thanks in advance, Markus
    PS: This is my spatial query
    SELECT *
      FROM cola_markets_v t
    WHERE sdo_filter (t.shape_a,
                             SDO_GEOMETRY (2003,
                                           NULL,
                                           NULL,
                                           sdo_elem_info_array (1, 1003, 3),
                                           sdo_ordinate_array (1, 1, 2, 2)
                             'querytype=window'
                            ) = 'TRUE';

    Thank you for your reply. I have tried it with 11.1.0.6.0 today and it works. This might be an issue with 10.2.0.3.0.

  • Oracle 9i and xmltype, ora-03001

    I get this message: 'ora-03001 unimplemented feature' when i
    trying to create a table with this statement: create table
    purchaseorder(podocument sys.xmltype);
    -The user has the following roles:
    connect, resource, javauserpriv, query rewrite, create any
    directory.
    -And execute privilege on xmlparser and xmldom (granted by sys).
    -The init.ora file is included with query_rewrite_enabled=true,
    query_rewrite_integrity=trusted.
    What's wrong?

    Colleague, I had problem the same that its, also with the postagem of a message here in this forum. I have the successfully installed Oracle 9i EE, after two weeks of very work, in IBM to xServer 220, with SuSE 7.2 This error occurred due to the fact of incorrect parameters of the init.ora, as well as, through some definite parameters incorrectly, in that if it says respect the 0 variable of environment of the ORACLE. One remembers to modify parameter REMOTE_LOGIN... of EXCLUSIVE for NONE and of preference it comments this in its archive INIT.ORA. Of one looked at in check list of installation of the Oracle, as well as in the specific manual of pattern for its distribution for the correct definition of the parameters of its archive of pattern.

  • ORA-03001 error on MRU form

    I added a column to a tabular form and its underlying table, and now the tabular form is showing:
    failed to parse SQL query:
    ORA-03001: unimplemented feature
    when I press the "ADD" button.
    What do I need to do to get this working, or will it be faster just to rebuild the page based on the new table definition?

    Hi,
    Whenever I've needed to update a tabular form I adjust the SQL statement, apply changes, go back in and edit the new column(s) to ensure that they are pointing to the correct table and field and apply changes again.
    Occasionally, I have had to clear the in my browser after loading the page for the first time, but that has only been needed if I've done something to a field that uses a LOV in a Select List. Otherwise, I don't have any problems if I follow the above.
    Regards
    Andy

  • Getting ORA-22920 Error With 'FOR UPDATE' clause

    Hello all,
    I scanned through all the messages regarding this error and the suggestion posted was to have 'FOR UPDATE' in the SELECT query. I do have that, but I am still getting ORA-22920 (row containing the LOB value is not locked) error.
    I am using JDBC thin driver with 8.0.5. I know the thin driver installation works because I can read data that I inserted using 'INSERT INTO ...' from svrmgr30.
    Can anyone show me some light on this?
    Thanks
    Suresh

    Hi,
    This helped me:
    Before the insert statement:
    connection.setAutoCommit(false);
    ..what you like to do
    at the end..
    connection.commit()
    HTH
    Martin

  • Unable to find Cube / Query in Catalog (Designer)

    Hello,
    Our current environment consists of BW Queries which are access by BO Universes. When creating a Universe we were able to see all queries but since we did some changes to the MP and cubes we don't see the queries anymore from BO Side.
    Also the current reports fail with an error "Unable to find Cube <QueryName> in catalog".
    The queries used in the universes are still visible and accessible in BEx Analyzer.
    What I tried so far (with a super user) is:
    1. Generate query again -> no change
    2. Save the query again -> no change
    3. Remove the flag u201CAllow external Access to this queryu201D, save query and flag the option again -> no change
    4. Activate the MultiProvider again -> no change
    5. Copy the query to another query u2013
         -> New query is accessible. This means the MP and cubes are not the reason. It seems like the query is gone in an inactive modeu2026
    6. Used BAPI  BAPI_MDPROVIDER_GET_CUBES to get the list of accessible queries.
         -> I see the same list as in BO. Most queries are missing. The ones that are in the list disappear whenever we try to access these queries from BO.
    Did anyone encounter the same issue and was able to solve it?
    Environment: SAP BI 7.1 EHP1 SP5, BO XI 3.1 SP2(1.7).
    Thanks in advance.
    Manu

    Hi Manu,
    your are talking about universe designer here - right?
    We have the same behaviour currently in Crystal 2008 designer and universe designer.
    In both we can see the same but not the complete list of queries.
    We made sure the "allow external access" option is set in BEX.
    We resolved both issues with same root cause :  adjust Query properties -> Req. status ->   ...
    Pls refer to thread Unable to find BW Query while creating connection with universe designer as well - thanks Ingo !
    - logon to the SAP system
    - start transaction RSRT
    - enter the technical name of the BW query in the syntax CUBE/QUERY
    - click Properties
    - set the second item called Req.Status.
    - set that one to 0
    Let us know if this helped !
    Holger
    Edited by: Holger Brasch on Mar 26, 2010 11:58 PM

  • Getting ORA-01000 : maximum open cursors exceeded  problem

    I am getting ORA-01000 : maximum open cursors exceeded problem in my piece of java code when the
    load is high .Open cursors is set to 1000 still getting the same problem .
    Basically i have to select some rows from a table which i am doing in A() function and process it and insert into
    another table which i do it in another function B() there is a update statement also in this fun.
    There is a particular business logic for which i need to call B() from the A() function
    which happens to be in the select result set like below
    A()
    query ="Select * from temp";
    while(rs.next)
    B();
    All the result sets are properly being closed that too in finally block.
    I dont see any other problem with code .Still I am gettin this cursor problem.
    Is some thing wrong with the design like calling a
    insert from a result set while loop or the update statement

    The code below is deleting fine. Check your $id is valid. I wonder if ADOdb has some quirks with binding and variable creation/destruction, similar to #1 in http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#bindvars
    <?php
    See ADOdb Tutorial for Oracle: http://phplens.com/lens/adodb/docs-oracle.htm
    drop table mytab;
    create table mytab (city varchar2(20), country_id varchar2(20));
    insert into mytab values ('SF', 'US');
    insert into mytab values ('Sydney', 'AU');
    insert into mytab values ('London', 'UK');
    commit;
    require_once("/home/cjones/public_html/php/adodb5/adodb.inc.php");
    $db = ADONewConnection("oci8");
    $db->Connect("//localhost/XE", "hr", "hrpwd");
    echo "Before:\n";
    $rs = $db->Execute("select city from mytab");
    while ($arr = $rs->FetchRow()) {
        echo $arr['CITY'] . "\n";
    $s = $db->Prepare("delete from mytab where country_id = :ci");
    $db->Parameter($s, $ci, 'ci');
    foreach (array('US', 'AU') as $ci) {
         $db->Execute($s);
    echo "After:\n";
    $rs = $db->Execute("select city from mytab");
    while ($arr = $rs->FetchRow()) {
        echo $arr['CITY'] . "\n";
    ?>There's another sample in the ADOdb OCI8 driver:
              Usage:
                   $stmt = $DB->Prepare("insert into table (col0, col1, col2) values (:0, :1, :2)");
                   $DB->Bind($stmt, $p1);
                   $DB->Bind($stmt, $p2);
                   $DB->Bind($stmt, $p3);
                   for ($i = 0; $i < $max; $i++) {     
                        $p1 = ?; $p2 = ?; $p3 = ?;
                        $DB->Execute($stmt);
                   }For queries I know this works. I haven't seen any examples that prepare once.
    $rs = $db->Execute("select city from mytab where country_id = :ci", array('ci' => 'UK'));
    while ($arr = $rs->FetchRow()) {
        echo $arr['CITY'] . "<br>\n";
    }

  • Strange ORA-03001 error

    I have a create table query. It runs fine. All I do is take off the create table as line and run the query and it gives me ORA-03001 feature not implemented. What's going on?

    Please be more detailed: what statement, how do you run it, what is "taking off", and what versions (DB, sqldev) are you using?
    K.

  • 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.

  • "ORA-03001: unimplemented feature" in Oracle 8.1.7

    When I'm trying to run even the simplest mappings in OWB 9.2 I'm getting the error code ORA-03001: unimplemented feature.
    I am running under Oracle 8.1.7 with 8.1.7 as source and target. I have tried to debug the package manually in Oracle but I can't seem to get to what exactly is unimplemented.
    I can't compile the Olap and Match Merge functions but shouldn't have to since I'm not using them(?).
    Has anyone had the ORA-03001: unimplemented feature problem?

    I don't know exactly what caused it to fail, I just know that removing the double quotes removes the problem.
    Examples of repeated quotes are:
    IF get_audit_level = AUDIT_ERROR_DETAILS OR get_audit_level = AUDIT_COMPLETE THEN
    WB_RT_MAPAUDIT.error(
    p_rta=>get_runtime_audit_id,
    p_step=>0,
    p_rtd=>batch_auditd_id,
    p_rowkey=>0,
    p_table=>'"DIM_ACCOUNT"',
    p_column=>'*',
    or
    WB_RT_MAPAUDIT.error_source(
    p_rta=>get_runtime_audit_id,
    p_rowkey=>get_rowkey + error_index - 1,
    p_seq=>10,
    p_instance=>1,
    p_table=>SUBSTR('"STAGE_ACCOUNT"',0,80),
    p_column=>SUBSTR('STAGE_ACCOUNT_0_CUSTOMER_SEX',0,80),
    p_value=>SUBSTR("STAGE_ACCOUNT_0_CUSTOMER_SEX"(error_index),0,2000),
    p_step=>get_step_number,
    p_role=>'S'
    error_stmt := SUBSTR('"DIM_ACCOUNT_0_CLI"("DIM_ACCOUNT_i") :="STAGE_ACCOUNT_0_CLI"("STAGE_ACCOUNT_i");',0,2000);
    error_column := SUBSTR('"DIM_ACCOUNT_0_CLI"',0,80);
    error_value := SUBSTR("STAGE_ACCOUNT_0_CLI"("STAGE_ACCOUNT_i"),0,2000);
    or in a procedure:
    PROCEDURE "STAGE_ACCOUNT_t" IS
    -- Constants for this map
    get_map_name CONSTANT VARCHAR2(40) := '"STAGE_ACCOUNT_t"';
    get_source_name CONSTANT VARCHAR2(2000) := '"STAGE_ACCOUNT"';
    get_source_uoid CONSTANT VARCHAR2(2000) := '"STAGE_ACCOUNT"';
    get_step_number CONSTANT NUMBER(22) := 1;
    Thanks,

  • ORA-03001- unimplemented feature in 9.i

    When I'm trying to create a table with BLOB datatype. I'm getting the error code ORA-03001: unimplemented feature.
    example:
    CREATE TABLE "GAR_ADMIN"."AAA"
    ("A1" NUMBER(10) NOT NULL,
    "A2" BLOB NOT NULL,
    PRIMARY KEY("A1"), UNIQUE("A1"))
    TABLESPACE "TSPC_GAR_DAT_S01.DAT"
    I'm running under Oracle 9.i (VMS Alpha)
    Has anyone had the ORA-03001 unimplemented feature problem?

    SQL> create table hh ( c1 blob );
    Table created.
    SQL> col parameter format a50
    SQL> col value format a20
    SQL>
    SQL> r
    1* select * from v$option
    PARAMETER VALUE
    Partitioning FALSE
    Objects TRUE
    Parallel Server FALSE
    Advanced replication TRUE
    Bit-mapped indexes TRUE
    Connection multiplexing TRUE
    Connection pooling TRUE
    Database queuing TRUE
    Incremental backup and recovery TRUE
    Instead-of triggers TRUE
    Parallel backup and recovery TRUE
    PARAMETER VALUE
    Parallel execution TRUE
    Parallel load TRUE
    Point-in-time tablespace recovery TRUE
    Fine-grained access control TRUE
    N-Tier authentication/authorization TRUE
    Function-based indexes TRUE
    Plan Stability TRUE
    Online Index Build TRUE
    Coalesce Index TRUE
    Managed Standby TRUE
    Materialized view rewrite TRUE
    PARAMETER VALUE
    Materialized view warehouse refresh TRUE
    Database resource manager TRUE
    Spatial TRUE
    Visual Information Retrieval TRUE
    Export transportable tablespaces TRUE
    Transparent Application Failover TRUE
    Fast-Start Fault Recovery TRUE
    Sample Scan TRUE
    Duplexed backups TRUE
    Java FALSE
    OLAP Window Functions TRUE
    33 rows selected.
    SQL>
    SQL> select * from v$version;
    BANNER
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    PL/SQL Release 8.1.7.0.0 - Production
    CORE 8.1.7.0.0 Production
    TNS for Linux: Version 8.1.7.0.0 - Development
    NLSRTL Version 3.4.1.0.0 - Production
    SQL>
    I can do it in my database, make a comparison of the options enable between your version and mine.
    Joel Pérez

Maybe you are looking for