Strange ORA-10614

Hi expert,
For me, it's really..really weird.
I created LOB segment (securefiles), inserted some data and check its space using DBMS_SPACE. But somehow it throws ORA-10614.
Oracle : 11.2.0.2
OS : RHEL 5
VARIABLE  UNFORMATTED_BLK         NUMBER;
VARIABLE  UNFORMATTED_BYT         NUMBER;
VARIABLE  FS1_BLK                 NUMBER;
VARIABLE  FS1_BYT                 NUMBER;
VARIABLE  FS2_BLK                 NUMBER;
VARIABLE  FS2_BYT                 NUMBER;
VARIABLE  FS3_BLK                 NUMBER;
VARIABLE  FS3_BYT                 NUMBER;
VARIABLE  FS4_BLK                 NUMBER;
VARIABLE  FS4_BYT                 NUMBER;
VARIABLE  FULL_BLK                NUMBER;
VARIABLE  FULL_BYT                NUMBER;
BEGIN
        DBMS_SPACE.SPACE_USAGE(
                SEGMENT_OWNER   => 'SF_DEMO',
                SEGMENT_NAME    => 'ASU',
                SEGMENT_TYPE    => 'LOB',
                UNFORMATTED_BLOCKS => :UNFORMATTED_BLK,
                UNFORMATTED_BYTES => :UNFORMATTED_BYT,
                FS1_BLOCKS      => :FS1_BLK,
                FS1_BYTES       => :FS1_BYT,
                FS2_BLOCKS      => :FS2_BLK,
                FS2_BYTES       => :FS2_BYT,
                FS3_BLOCKS      => :FS3_BLK,
                FS3_BYTES       => :FS3_BYT,
                FS4_BLOCKS      => :FS4_BLK,
                FS4_BYTES       => :FS4_BYT,
                FULL_BLOCKS     => :FULL_BLK,
                FULL_BYTES      => :FULL_BYT
END;
BEGIN
ERROR at line 1:
ORA-10614: Operation not allowed on this segment
ORA-06512: at "SYS.DBMS_SPACE", line 190
ORA-06512: at line 2I know that DBMS_SPACE is used only on segments in tablespaces with AUTO SEGMENT SPACE. And this is a prove that all things have been stored in ASSM tablespace.
SQL> SELECT
  2  A.SEGMENT_NAME,A.SEGMENT_TYPE,
  3  A.SEGMENT_SUBTYPE,A.TABLESPACE_NAME,B.SEGMENT_SPACE_MANAGEMENT
  4  FROM DBA_SEGMENTS A JOIN DBA_TABLESPACES B
  5  ON A.TABLESPACE_NAME=B.TABLESPACE_NAME
  6  WHERE A.OWNER='SF_DEMO';
SEGMENT_NAME              SEGMENT_TYPE       SEGMENT_SU TABLESPACE_NAME SEGMEN
RESUME_SF                 TABLE              ASSM       SECF_TBS1       AUTO
SYS_IL0000018044C00002$$  LOBINDEX           ASSM       SECF_TBS1       AUTO
ASU                       LOBSEGMENT         SECUREFILE SECF_TBS1       AUTOAny help appreciated.
Regards,
Yusata.

10614, 00000, "Operation not allowed on this segment"
// *Cause: This procedure can be used only on segments in
//         tablespaces with AUTO SEGMENT SPACE MANAGEMENT
// *Action:  Recheck the segment name and type and re-issue the statement

Similar Messages

  • Strange ORA-00947

    Hello all,
    I have a query in a stored procedure as follows:
    select min(ref.REFERENCE_V_INNER_CODE) INNER_CODE, item.COMPONENT_V_ID bulk collect into highest_quality_table
    from T_ITEM item, T_REFERENCE ref
    where (item.ITEM_V_CODE, item.COMPONENT_V_ID) in
    ( select ... )
    and item.ITEM_V_QUALITY_LEVEL=ref.REFERENCE_V_CODE_NAME
    group by item.COMPONENT_V_ID
    It's compiling successfully if I use a locally defined type for highest_quality_table:
    TYPE highest_quality_row_type IS RECORD ( INNER_CODE T_REFERENCE.REFERENCE_V_INNER_CODE%TYPE, COMPONENT_V_ID T_COMPONENT.COMPONENT_V_ID%TYPE );
    TYPE highest_quality_table_type IS TABLE OF highest_quality_row_type;
    highest_quality_table highest_quality_table_type;
    But then I tried to define such type on the level of schema:
    create or replace type highest_quality_row_type as object ( INNER_CODE NVARCHAR2(20), COMPONENT_V_ID NVARCHAR2(8) )
    create or replace type highest_quality_table_type as table of highest_quality_row_type
    After that the query fails to compile with the strange ORA-00947 (not enough values).
    Any idea why could it happen ?
    Edited by: 850271 on 06-Apr-2011 06:55

    Because RECORD != OBJECT. If you bulk collect into table of objects your SQL must select object of that type. Change select to:
    select  highest_quality_row_type(min(ref.REFERENCE_V_INNER_CODE),item.COMPONENT_V_ID)
      bulk collect
      into highest_quality_table
      from  T_ITEM item,
            T_REFERENCE ref
      where (item.ITEM_V_CODE,item.COMPONENT_V_ID) in ( select ... )
        and item.ITEM_V_QUALITY_LEVEL=ref.REFERENCE_V_CODE_NAME
        group by item.COMPONENT_V_ID
    /SY.

  • Strange ORA-01044 error

    Hi Guys,
    I'm getting a very strange ORA-01044 error:
    Oracle.DataAccess.Client.OracleException ORA-01044: size 87160000 of buffer bound to variable exceeds maximum 288212783965667328    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx pOpoSqlValCtx, Object src, String procedure)*
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx pOpoSqlValCtx, Object src)*
    at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    As you can see, the buffer size does not exceed the maximum stated, yet it is still causing an exception.
    Some background.. A new parameter has been added to a stored proc that was originally working fine, this new parameter is an associative array of numbers.
    On the ODP.Net side, I create a parameter that has a collection type of "*PLSQLAssociativeArray*" and Oracle DB Type of "*Int32*".
    Any ideas as to what might be causing this problem?

    Hi,
    What db version?
    There is an older bug where this error would be raised if the requested buffer size exceeded the granule size of the SGA. That was from the 9.2 timeframe as I recall.
    Regards,
    Mark

  • Strange ORA-00161 exception in Vista

    Hi
    Some of our customers wants to upgrade to Win Vista. I'm investigating if our application will run as expected on Vista. I got into unexpected trouble with the Oracle components. We're using version 2.102.2.20 which I understand has officially Vista support. Although, I get a ORA-00161 exception when TransactionScope is used in the code. I've looked closely at our DTC configuration but can't find anything strange. I can't find another way around it unfortunately. Have anyone else seen this problem? How do I solve it?
    Regards
    Carl

    I suspect all (or most) of you are running into the same issue.
    Windows Vista and Windows Server 2008 introduce new MSDTC changes that do not interoperate with older versions of Oracle Services for MTS. Oracle Services for MTS 10.2.0.4 and higher, with the exception of 11.1.0.6, support these new changes on Windows Vista Service Pack 1 and Windows Server 2008 or higher.

  • Strange ORA-07445: exception encountered: core dump [ACCESS_VIOLATION]

    HI,
    I have a strange problem with 10.1.0.5 on Windows Server 2003 SP1.
    I get an ORA-07445 trace file (details below) every evening between 18:10 and 18:20. I have logged a SAR but it doesn't seem to be going anywhere.
    *** 2012-03-14 18:12:26.429
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kgegec+23] [PC:0x6034483F] [ADDR:0x433EEB4] [UNABLE_TO_READ] []
    ORA-01403: no data found
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Current SQL statement for this session:
    DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN := FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); :mydate := next_date; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0DADC8B8 10094 package body SYSMAN.MGMT_JOB_ENGINE
    0DB11E50 909 package body SYSMAN.EM_PING
    0DBABF04 925 package body SYSMAN.EMD_MAINTENANCE
    0DBCC878 1 anonymous block
    .. current cursor is
    Cursor 5 (5c1d033c): CURBOUND curiob: 5c1d9b6c
    curflg: 5 curpar: 0 curusr: 114 curses 7ef4888c
    cursor name: DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN := FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); :mydate := next_date; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
    child pin: 8992ad0, child lock: 88dfeb8, parent lock: e7d4dd0
    xscflg: c4110664, parent handle: dbc6580, xscfl2: d100000, xscfl3: 50210c
    nxt: 1.0x00000114
    frm: -------- Comment -------- Size Seg Off
    bhp size: 1136/1192
    bind 0: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=00 oacfl2=0001 size=24 offset=0
    bfp=5c18f680 bln=22 avl=03 flg=05
    value=325
    bind 1: dty=12 mxl=07(07) mal=00 scl=00 pre=00 oacflg=13 oacfl2=0001 size=8 offset=0
    bfp=5f1aeaf8 bln=07 avl=07 flg=09
    value="3/14/2012 18:13:26"
    bind 2: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=00 oacfl2=0001 size=24 offset=0
    bfp=5c18f65c bln=22 avl=00 flg=05
    Sometimes the location of the offending code changes but mostly it is reported as above.
    I have recreated the db control repository with EMCA which seems to solve the problem for a few days only.
    I have tried "alter session set events '6502 trace name errorstack level 3'" but the trace file produced is pretty much similar to the trace file produced anyway.
    I have checked the event viewer on the server to see if there is any clue as to what is happening at 6.15 every night.
    Can anyone suggest what I might try next to help me track down what is happening here?
    Kind regards,
    Stuart

    user559810 wrote:
    Hi Ed,
    Thanks for your input. Yes I've been searching Metalink and Google for a few weeks now! I've yet to find anything that matches the problem.
    Hence the idea that I might be missing a technique/tool that might help me glean further information.
    Regards,
    StuartIf you used the ora-07445 lookup tool and didn't get anything useful, the chances of finding help anywhere else are near nil. Anything else you find on the web will most likely trace back to information gathered from that tool or from an SR that was opened with Oracle Support.
    You must firmly keep in mind that 0600/07445 are internal errors. They are oracle's way of saying "I really don't know what happened here." I'm pretty certain that every solution in Metalink (oops, MOS) was published as a result of Support working an SR, then publishing the findings. So if the lookup didn't give you anything, you really only have one recourse.

  • Strange ORA-12542 issue

    Hi,
    I'm facing a baffling ORA-12542 issue for batch processes run by our application.
    OS Platform : Solaris 10 8/07 Sparc. Database runs in a Solaris sparse root zone
    Database : Oracle 9.2.0.8
    Listener : Uses default port of 1521
    Background:
    We have a daemon running on the database server that polls the database for jobs. This daemon queries a table with the database. If it finds a job it disconnects and spawns a new process based on the job definition. This process in turn calls a shell script that invokes SQL*Plus to generate a report.
    Issue:
    Periodically the daemon serves an ORA-12542. We've tried tracing the listener but no information comes up there.
    In /var/tmp/.oracle we see only two socket files. So old socket files also do not seem to be causing a problem.
    We've now increased the queue size for the listener. Also we've tried setting TCP_CONN_REQ_MAX_Q to 1024 on the Solaris server.
    The only commonality between the daemon logs and listener logs we find is a step of service update. Could this be having any impact on a daemon which polls frequently? Below, the first line is from our daemon log and the lower lines are from the listener log.
    tmd_TRN1[5683:1000]:17/07/2009 16:52:45 ORA-12542: TNS:address already in use
    17-JUL-2009 16:52:44 * service_update * TRN1 * 0
    17-JUL-2009 16:52:45 * service_update * DEV3 * 0
    tmd_TRN1[5683:1000]:17/07/2009 11:32:38 ORA-12542: TNS:address already in use
    17-JUL-2009 11:32:37 * service_update * AST3 * 0
    17-JUL-2009 11:32:38 * service_update * AST1 * 0
    17-JUL-2009 11:32:38 * service_update * DB115RPY * 0
    17-JUL-2009 11:32:42 * service_update * AST2 * 0
    17-JUL-2009 11:32:48 * (CONNECT_DATA=(SID=TRN1)(CID=(PROGRAM=tmd)(HOST=xxxxxx)(USER=tmbatch))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50057))
    * establish * TRN1 * 0
    17-JUL-2009 11:33:01 * service_update * DEV1 * 0
    17-JUL-2009 11:33:02 * service_update * DEV3 * 0
    17-JUL-2009 11:33:07 * service_update * TRN1 * 0
    17-JUL-2009 11:33:18 * service_update * TRN2 * 0
    tmd_TRN1[8165:1000]:10/07/2009 15:15:52 ORA-12542: TNS:address already in use
    10-JUL-2009 15:15:46 * service_update * TRN2 * 0
    10-JUL-2009 15:15:52 * (CONNECT_DATA=(SID=TRN1)(CID=(PROGRAM=tmd)(HOST=xxxxxx)(USER=tmbatch))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=62888))
    * establish * TRN1 * 0
    10-JUL-2009 15:15:59 * service_update * AST2 * 0
    10-JUL-2009 15:16:03 * service_update * DB115RPY * 0
    10-JUL-2009 15:16:25 * service_update * TRN1 * 0
    Any clues will be appreciated :-)
    Cheers,
    Aniruddha
    Edited by: Aniruddha Khadkikar on Jul 20, 2009 11:29 AM
    Edited by: Aniruddha Khadkikar on Jul 20, 2009 11:34 AM

    Change this:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(QUEUESIZE = 20))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )As:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    *(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)( HOST = ipaddress of any one NIC )(QUEUESIZE = 20))*
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    Restart the listener and try again. For more see DOC ID 114323.1 on metalink.
    Reason may be the entries in /etc/hosts which have two entries one for loopback address and other for NIC's assigned address.
    Regards
    Edited by: orant575 on Jul 20, 2009 11:52 AM

  • Strange ora-1403 and 6508 errors after compiling forms in 10.1.2.0.2

    Hi, today we migrated our Application Server to 10.1.2.0.2 and totally unexpected (it was not mentioned in the upgrade guide of 400 pages...) we had to recompile all 9.0.4-executables
    So we installed Developer Suite 10.1.2.0.2 and recompiled all libraries, forms and menus. There were no errors reported, so everything should be valid.
    Now we can run the forms again - that is, they start without problems - but on some forms (so not all), after doing Run Query, we immediately get ORA-1403, followed by ORA-6508.
    Could this perhaps be caused by "something" in the Headstart-libraries that can not be used in 10.1.2?
    A quick respons would be perfect, because many users have problems now.
    Regards, JW

    Hi Josef,
    indeed i recompiled them all and the errors are raised in development (running standalone oc4j) and production environment (application server 10.1.2).
    Currently i'm migrating the forms to Headstart 65401 and i will update this thread with the results. I guess/hope that the obsolete forms functions/procedures caused these errors.
    Thanks, JW

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

  • Strange ORA-01438: value larger than specified precision...error

    When i issue a query like
    SELECT * FROM shp_dtls WHERE shp_locn='AL';
    i get the error
    ORA-01438: value larger than specified precision allowed for this columnWhy do i get an error like this for a SELECT query. Isn't this an INSERT related error?

    Normally this error happens on INSERT or UPDATE statement. There are 2 possibilities I think for it to happen on SELECT:
    1) your FGA policy defined on select for this table that inserts data into wrong column (you should also be getting the violating procedure name in your error message);
    2) wrong data has been inserted into table using OCI (in which case Oracle does not verify data correctness) or corrupted export file was impored.

  • ORA-00001 error

    Hi all,
        After we restarted portal,we cannot start jcontrol,and we get a strange ORA-00001 error,when we check the log:
    Here is the log defaulttrace:
    Date : 12/10/2007
    Time : 15:13:26:500
    Message : ORA-00001: unique constraint (SAPSR3DB.SYS_C005260) violated
    com.sap.caf.eu.gp.base.exception.EngineException: ORA-00001: unique constraint (SAPSR3DB.SYS_C005260) violated
         at com.sap.caf.eu.gp.model.pfw.wfc.local.db.impl.AbstractLocalProcessPersistence.createBlockInputLocal(AbstractLocalProcessPersistence.java:904)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.db.impl.LocalProcessPersistence.createBlock(LocalProcessPersistence.java:250)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startBlock(StatusWriter.java:984)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startActivity(StatusWriter.java:927)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.changeParentBlockStatus(StatusWriter.java:2710)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.changeParentBlockStatus(StatusWriter.java:2728)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatusUserDecisionBlock(StatusWriter.java:2574)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatus(StatusWriter.java:2235)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.completeAction(StatusWriter.java:223)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.LocalWorkflowConnector.completeAction(LocalWorkflowConnector.java:247)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.BackGroundActionProcessorHelper.processAction(BackGroundActionProcessorHelper.java:223)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.queue.BackgroundCOQueueProcessor.run(BackgroundCOQueueProcessor.java:269)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPSR3DB.SYS_C005260) violated
         at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:259)
         at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:240)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.db.impl.AbstractLocalProcessPersistence.createBlockInputLocal(AbstractLocalProcessPersistence.java:901)
         ... 15 more
    And i also check the startlog.It seems ok.
    Someone knows what's happening and how to solve this?
    Best regards
    delma

    Hi,Shikhil
    Thank you for your reply.
    But actually,we just install a WEB AS FOR JAVA on the portal server,no ABAP at all.
    I think it may be the database problem.
    Thank you.
    Best regards
    delma

  • A bug or an intend behviore?

    Hello all,
    in my shop we use a lot in pipelined functions.
    they suppose to act as table, i.e. put the pipelined function in the from part
    of the select and use then as ordinary table.
    but, not like other objects
    that can be used in a from clause (e.g. in line view), the pipelined function
    can use a column as an argument from another table in the same scope of the from part
    this is very nice and work very fast for us, the question, however is this behavior is:
    a. undocumented behavior - very nice feature, I wonder why oracle hide it
    or
    b. some sort of a bug.
    if a is the case then wow!, I will use it even more. but if it is a bug then
    I may well rewrite the whole thing just to be on the safe side.
    here is a small script that demonstrate it:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> create or replace type number_array as table of number
      2  /
    Type created.
    SQL> create or replace function f_get_numbers(p_stoper number) return  number_ar
    ray
      2  pipelined
      3  is
      4  begin
      5       for i in 1..p_stoper loop
      6           pipe row(i);
      7       end loop;
      8  return;
      9  end f_get_numbers;
    10  /
    Function created.
    SQL> drop table data_numbers;
    drop table data_numbers
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> create table data_numbers as select rownum id from all_objects where rownum <=100;
    Table created.
    SQL> --REGRULAR ARGUMENT
    SQL> select * from data_numbers, table(f_get_numbers(10))
      2  where id = column_value and id = 1;
            ID COLUMN_VALUE
             1            1
    SQL> --COLUMN ARGUMENT
    SQL> select * from data_numbers, table(f_get_numbers(id))
      2  where id = column_value and id = 1;
            ID COLUMN_VALUE
             1            1
    SQL> --NO JOIN:
    SQL> select * from data_numbers, table(f_get_numbers(id))
      2  where id = 1;
            ID COLUMN_VALUE
             1            1
    SQL> --THE USEUAL STAFF
    SQL> select * from data_numbers, (select g.id column_value from data_numbers g where g.id = data_numbers)
      2  where id = column_value and id = 1;
    select * from data_numbers, (select g.id column_value from data_numbers g where
    g.id = data_numbers)
    ERROR at line 1:
    ORA-00904: "DATA_NUMBERS": invalid identifier
    SQL>p.s.
    I can reprduce it in 9.2.0.6 too.
    Amiel

    thank you all.
    Billy and William - what is rellay going on is that we have one cantrel pipelined function - not many.
    we recently enctored a strange ora-600 that realte to it.
    as a workaround we decide to rewrite the function,
    and as a resolt to re-write some of the sql that use it.
    and by doing so i notice that. (one can use a column as an argument).
    i know that my last sql is invalid - i only though that the same must go
    for pipelined function and the whole script show this line of thought.
    SomeoneElse - you are right but it will give the same error even if i put data_numbers.id
    Elic and William - thank you very much. now i am happay.
    i search every document, expet from the sql manual (i looked at application dev, cartarige, etc).
    this goes to show that every day I learn something new.
    Amiel
    re-reading the whole thared i realized that i wasn'nt
    clear enough and the typo must have been confusing
    i know that either:
    select *
      from data_numbers,
           (select g.id column_value
              from data_numbers g
             where g.id = data_numbers)
    where id = column_value
       and id = 1;or
    select *
      from data_numbers,
           (select g.id column_value
              from data_numbers g
             where g.id = data_numbers.id)
    where id = column_value
       and id = 1;don't suppose to work
    (i ment to wrote the second sql...)
    i was only concluding that the same goes for pipelind function.
    Message was edited by:
    Amiel D.

  • Automatic configuration URL syntax in 4.01 is not recognizing the file:///// syntax which use to work in 3.6.18. Is this a bug or an intentional change?

    Hi, we noticed this difference today. We use a centralized PAC file located in a network share. This used to work for versions 3.5-3.6, it is not working for 4.01. Was this an intentional change or a bug?
    The workstation running firefox is running windows 7.

    thank you all.
    Billy and William - what is rellay going on is that we have one cantrel pipelined function - not many.
    we recently enctored a strange ora-600 that realte to it.
    as a workaround we decide to rewrite the function,
    and as a resolt to re-write some of the sql that use it.
    and by doing so i notice that. (one can use a column as an argument).
    i know that my last sql is invalid - i only though that the same must go
    for pipelined function and the whole script show this line of thought.
    SomeoneElse - you are right but it will give the same error even if i put data_numbers.id
    Elic and William - thank you very much. now i am happay.
    i search every document, expet from the sql manual (i looked at application dev, cartarige, etc).
    this goes to show that every day I learn something new.
    Amiel
    re-reading the whole thared i realized that i wasn'nt
    clear enough and the typo must have been confusing
    i know that either:
    select *
      from data_numbers,
           (select g.id column_value
              from data_numbers g
             where g.id = data_numbers)
    where id = column_value
       and id = 1;or
    select *
      from data_numbers,
           (select g.id column_value
              from data_numbers g
             where g.id = data_numbers.id)
    where id = column_value
       and id = 1;don't suppose to work
    (i ment to wrote the second sql...)
    i was only concluding that the same goes for pipelind function.
    Message was edited by:
    Amiel D.

  • Procedure uses DBMS_SPACE error

    Hi ,
    I use this Stored Procedure with DBMS_SPACE.SPACE_USAGE
    ( p_owner in varchar2,
    p_name in varchar2,
    p_type in varchar2 default 'TABLE' )
    AS
    l_unformatted_blocks number;
    l_unformatted_bytes number;
    l_fs1_blocks number;
    l_fs1_bytes number;
    l_fs2_blocks number;
    l_fs2_bytes number;
    l_fs3_blocks number;
    l_fs3_bytes number;
    l_fs4_blocks number;
    l_fs4_bytes number;
    l_full_blocks number;
    l_full_bytes number;
    PROCEDURE p( p_label in varchar2, p_num in number )
    IS
    BEGIN
    dbms_output.put_line( rpad(p_label,50,'.') || p_num);
    END;
    BEGIN
    dbms_space.space_usage
    ( segment_owner => p_owner,
    segment_name => p_name,
    segment_type => p_type,
    unformatted_blocks => l_unformatted_blocks,
    unformatted_bytes => l_unformatted_bytes,
    fs1_blocks => l_fs1_blocks,
    fs1_bytes => l_fs1_bytes,
    fs2_blocks => l_fs2_blocks,
    fs2_bytes => l_fs2_bytes,
    fs3_blocks => l_fs3_blocks,
    fs3_bytes => l_fs3_bytes,
    fs4_blocks => l_fs4_blocks,
    fs4_bytes => l_fs4_bytes,
    full_blocks => l_full_blocks,
    full_bytes => l_full_bytes );
    p( 'Unformatted Blocks', l_unformatted_blocks);
    p( 'Unformatted Bytes',l_unformatted_bytes);
    p( 'FS1 Blocks',l_fs1_blocks);
    p( 'FS1 Bytes',l_fs1_bytes);
    P( 'FS2 Blocks',l_fs2_blocks);
    P( 'FS2 Bytes',l_fs2_bytes);
    P( 'FS3 Blocks',l_fs3_blocks);
    P( 'FS3 Bytes',l_fs3_bytes);
    p( 'FS4 Blocks',l_fs4_blocks);
    p( 'FS4 Bytes',l_fs4_bytes);
    P( 'Full Blocks',l_full_blocks);
    P( 'Full Bytes',l_full_bytes);
    END;
    When I run the Procedure one time it works after that occurs the error:
    SQL> show user
    USER ist "HR"
    exec show_used('HR','RACF','TABLE');
    FEHLER in Zeile 1:
    ORA-10614: Operation not allowed on this segment
    ORA-06512: in "SYS.DBMS_SPACE", Zeile 97
    ORA-06512: in "JOEFISH.SHOW_USED", Zeile 23
    ORA-06512: in Zeile 1
    Can anyone help?
    Regards
    MArcel

    ORA-10614:     Operation not allowed on this segment
    Cause:     This procedure can be used only on segments in tablespaces with AUTO SEGMENT SPACE MANAGEMENT.
    Action:     Recheck the segment name and type and re-issue the statement.
    Bye, Aron

  • Differences in 9i and 10g imp

    Hi all,
    I've just done an import from production into two dev databases. One which is 9i and the other 10g. Comparing the two logs, I got the following error on the 10g, but not on 9i which to me seem strange:
    ORA-02299: cannot validate (XXX.<table__name>) - duplicate keys found.
    Not sure why this has happenend on 10g but not on 9i as the imports were done exactly the same.
    Would appreciate any comments on this
    Thanks

    If you run:
    $ oerr ora 2299
    02299, 00000,"cannot validate (%s.%s) - duplicate keys found"
    // *Cause: an alter table validating constraint failed because the table has
    // duplicate key values.
    // *Action: Obvious
    You'll see that imp has attempted to validate and enable a constraint after importing the data and has encountered duplicate data on a unique constrained column or group of columns.
    I'm suspecting if it worked in one database and not another, you've specified ignore=y and there is already data in the 10g database. But as suggested, please provide the imp command used.
    Cheers,
    Stuart.

  • Report stuffed up when transporting to another machine

    Hi,
    I made a report at college, and when I brought it home and tried to run it, it wouldn't work, giving some strange ORA error. I ran the report wizard in re-entrant mode and finally it worked, however all my formatting was gone from the web layout. I made the report in .RDF format, and only transported the .RDF file home. Was there another file I was supposed to bring as well? What is the cause of this?
    thx
    adam

    Hi Sawye Raj
    no there are no other files that are to be carried along with RDF file as its the source file.
    the reason u have got that formatting disturbed is due to the re run of the wizard, which has reconfigured the layout.
    ORA error may be due to some connection of database or inconsistent in tables that are used at ur college and home.
    Bhaskar

Maybe you are looking for

  • How open images from other programs & convert to tiff?

    I am new to digital photography. I usually take 2 to 3 MB images with my Canon Rebel XT and use iPhoto as my basic program to organize images, create albums, and do very basic editing. I'm running on a G4 Powerbook with OS10.3. I expect to upgrade to

  • Downloads from itunesU where viewed, played and saved?

    downloads from itunesU where viewed , played and saved?

  • Wont open new tab when I click on it

    When I click on the new tab it will not open at all. Right clicking on the new tab icon wont work either. I can open a new tab when I click on a link in a web page though.

  • LDAP and OID

    FYI: I am new to Oracle (<1 month), and new to APEX (<3 weeks) so forgive me if I am asking the obvious. I would like to have APEX authenticate against LDAP (active directory), and went about trying to set that up. Got all AD settings from our sys ad

  • Calculate date differences in consecutive rows and generate a sequence

    Hi Guys, I am trying to implement one scenario where in i need to compare the date differences for consecutive rows and generate a sequence against that. this is the table schema: create table temp id int identity(1,1), emp_id int, time datetime inse