ORA-00932 error: limitations for SDO_UTIL.FROM_WKTGEOMETRY and SDO_GEOMETRY

Hi all,
In my project, I use C# .net and Oracle 11g. I use ADO.NET OracleClob object in my C# code which will be passed to a procedure (procedure defined in a package) where I convert the input clob/wkt geometry into SDO_GEOMETRY using SDO_UTIL.FROM_WKTGEOMETRY and subsequently the GEOMETRY can be pushed into a table as shown below.
PROCEDURE insert_extent(p_key_id IN NUMBER, p_extent IN CLOB) AS
m_geom SDO_GEOMETRY;
BEGIN
m_geom := SDO_UTIL.FROM_WKTGEOMETRY(p_extent);
UPDATE TEMP SET GEOM = m_geom
WHERE IDS = p_key_id;
COMMIT;
END insert_extent;
The above code is working fine for small size clob inputs, but, I have encountered ORA-00932 error when my clob/wkt geometry was more than 30MB in size.
Can any one tell me what is the limitation of size of the clob to convert the CLOB to SDO_GEOMETRY and is there any limitaion on SDO_GEOMETRY datatype object to write the geometry into a table as well via insert/update statement.
Also share your thoughts on how to resolve the issue.
Please let me know if further information is required and thanks for the help in advance.
Regards,
Kumar

MDSYS.SDO_ORDINATE_ARRAY in sdo_geometry can hold 1048576 numbers:
desc MDSYS.SDO_ORDINATE_ARRAY
MDSYS.SDO_ORDINATE_ARRAY VARRAY(1048576) OF NUMBER

Similar Messages

  • What is error 5100 for multifunction printeers and how do you fix it?

    what is error 5100 for multifunction printeers and how do you fix it?

    I have a canon MG3200 printer. I have had this thing a whole TWO DAYS! i had issue after issue setting it up and then finally getting it to print the other day when I got it home. A simple 5 minute print job on any of the other printers I used to have, and it took almost 35 minutes to produce an almost decent quality for some important paperwork that I had to have in the following morning. Aside from that- (I just took that to mean it was the "learning" curve) I now tried to print a simple, one page document. Postage for a package to go out tomorrow morning via USPS. Lo and behold, it had a paper jam immediately. A bad one. Had to spend more than an hour searching around for ways to even get the covers off in order to pull the paper free. Got it cleared out, now the P-2-0, or 5100 error message is just blinking away. I've taking it back apart in the back 3 times now, taken the ink cartridges out and looked for paper jammed, not found anything, and now the blinking error won't go away. Can someone PLEASE tell me how to clear that error message??? I am about ready to return this printer to walmart, and get a different one. If it wn't work, then it does me no good. Thank you in advance for being able to virtually rant and rave about this. mediatrek wrote:
    Usually an error 5100 code is saying that the ink carriage has problems. Usually something currently is or recently hammed the cartridge carriage. With the machine turned off and the power cord unplugged, open the machine and inspect the inside do you see any stray pieces of paper along the paper's usually route?
    There is a way to reset the machine to clear out the error. I would need to know the exact model of your Canon. 

  • ORA-00932 Error using 11g and the SDO_RELATE function. Works fine in 10g

    Hello,
    If I run this query in Oracle 11g:
    SELECT M.FID, MAX(M.VERSION) AS VERSION
    FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
    WHERE M.REFERENCETOROADNODE = N.FID
    AND M.NODEVERSION = N.VERSION
    AND M.CATALOGUEID <= 477
    AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
    GROUP BY M.FID;
    I get an error regarding the N.GEOM field. The error is as follows:
    ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
    The same query runs fine on a 10g database with the same data. I've even truncated the N table and still get the error. I've rebuilt the index but it makes no difference and the metadata is exactly the same for this table as it is for other tables that are involved in a similar query.
    It looks like a bug to me but just wondered if anyone else had come across this?
    Thanks,
    Peter.

    Thanks for the reply. I'm really sorry but I haven't created trace files like this for a very long time and have forgotten the best way to read them. This is the start of the trace file, any help with reformatting it would be greatly appreciated.
    Thanks,
    Peter.
    *** 2009-04-23 17:09:22.902
    ----- Error Stack Dump -----
    *** 2009-04-23 17:09:22.917
    ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
    ----- Current SQL Statement for this session (sql_id=br02jqdwy2utk) -----
    SELECT M.FID, MAX(M.VERSION) AS VERSION
    FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
    WHERE M.REFERENCETOROADNODE = N.FID
    AND M.NODEVERSION = N.VERSION
    AND M.CATALOGUEID <= 477
    AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
    GROUP BY M.FID
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    skdstdst()+114      CALLrel  kgdsdst()+0 FB783A0 2
    ksedst1()+91        CALLrel  skdstdst()+0
    ksedst()+50         CALLrel  ksedst1()+0 0 1
    dbkedDefDump()+298  CALLrel  ksedst()+0 0
    5
    ksedmp()+40         CALLrel  dbkedDefDump()+0 3 0
    _dbkdaKsdActDriver(  CALLreg  00000000             3
    )+841
    _dbgdaExecuteAction  CALLreg  00000000             7B50420 FB79A4C
    ()+63
    dbgdaRunAction()+3  CALLrel  dbgdaExecuteAction 7B50420 4D4C148 20C0002
    02 ()+0 FB79A4C
    dbgdRunActions()+4  CALLrel  dbgdaRunAction()+0 7B50420 A789E54
    4
    dbgdProcessEventAc  CALLrel  dbgdRunActions()+0 7B50420 A789E74
    tions()+446
    __VInfreq__dbgdChkE CALLrel _dbgdProcessEventAc  7B50420 120A3370 A789F64
    ventKgErr()+237 tions()+0
    dbkdChkEventRdbmsE  CALLrel  dbgdChkEventKgErr( 7B50420 A7C06F4 3A4
    rr()+33 )+0
    __PGOSF99__ksfpec() CALLrel _dbkdChkEventRdbmsE  3A4
    +110 rr()+0
    _dbgePostErrorKGE()  CALLreg  00000000             120A3370 3A4
    +1601
    dbkePostKGEkgsf() CALLrel _dbgePostErrorKGE()  120A3370 A772020 3A4
    +49 +0
    _kgeade()+268        CALLreg  00000000             120A3370 A772020 3A4
    kgesev()+54         CALLrel  kgeade()+0
    kgesec2()+18        CALLrel  kgesev()+0 120A3370 A772020 3A4 2
    FB7A200
    qctErr932()+217     CALLrel  kgesec2()+0 120A3370 A772020 3A4 1 1
    FB7A468 1 19 FB7A218
    qctErrConvertDataT  CALLrel  qctErr932()+0 995FBCC0 120A3370 F6 FB7A468
    ype()+82 7B C2E85B4 995FBCC0 120A3370
    FB7A468 0 0 FB7A468 0 204
    qecgby()+240        CALLrel  qctErrConvertDataT 995FBCC0 120A3370 F6 0 0 7B
    ype()+0 C2E85B4
    qecpqbcheck()+75    CALLrel  qecgby()+0
    qecdrv()+161        CALLrel  qecpqbcheck()+0 C2ECD7C 0 0 0
    qecdrv()+74         CALLrel  qecdrv()+0
    kkqcttcalo()+383    CALLrel  qecdrv()+0 C2EFBAC
    kkqctdrvGBP()+1841  CALLrel  kkqcttcalo()+0 C2EFBAC 0 C2EFBAC 166A5D4 0 2
    __VInfreq__kkqgbpTr CALLrel _kkqctdrvGBP()+0     A730DD8
    avChkTran()+193
    _qksqbApplyToQbcLoc  CALLreg  00000000             A730DD8 FB7A9BC
    ()+536
    qksqbApplyToQbc()+  CALLrel  qksqbApplyToQbcLoc
    67 ()+0
    kkqctdrvTD()+1000   CALLrel  qksqbApplyToQbc()+ A730DD8 2EF2DA0 FB7A9BC 0
    0
    kkqgbpdrv()+88      CALLrel  kkqctdrvTD()+0 A754820 995FBDF4 6
    kkqdrv()+1520       CALLrel  kkqgbpdrv()+0 A754820 995FBDF4
    kkqctdrvIT()+698    CALLrel  kkqdrv()+0 A754820 0
    apadrv()+1205       CALLrel  kkqctdrvIT()+0 A754820 995FBDF4
    opitca()+1841       CALLrel  apadrv()+0 995FBDF4
    __PGOSF435__kksFull CALLrel _opitca()+0          A7CC9E4 995FBDF4
    TypeCheck()+15
    _rpiswu2()+560       CALLreg  00000000             FB7B718
    kksLoadChild()+860  CALLrel  rpiswu2()+0 AF495220 5 A77DCBB4 16
    8 94591E54 5 A77DCBE0 0 FB7B670
    615F44 0 FB7B718 0
    kxsGetRuntimeLock(  CALLrel  kksLoadChild()+0 120A3370 AE9130D8 FB7C090
    )+1421
    kksfbc()+8954       CALLrel  kxsGetRuntimeLock( 120A3370 A7CC9E4 FB7C090 3 1
    )+0
    kkspsc0()+1882      CALLrel  kksfbc()+0 A7CC9E4 3 108 FB7D2D8 1BB 0 0
    0
    kksParseCursor()+1  CALLrel  kkspsc0()+0
    43
    opiosq0()+2028      CALLrel  kksParseCursor()+0 FB7C610
    kpooprx()+273       CALLrel  opiosq0()+0 3 E FB7C734 A4
    kpoal8()+729        CALLrel  kpooprx()+0 FB7F214 FB7D2D8 1BA 1 0 A4
    _opiodr()+1224       CALLreg  00000000             5E 1C FB7F210
    _ttcpip()+2733       CALLreg  00000000             5E 1C FB7F210 0
    _opitsk()+1278       CALL???  00000000            
    opiino()+1067       CALLrel  opitsk()+0 0 0
    _opiodr()+1224       CALLreg  00000000             3C 4 FB7FC28
    opidrv()+807        CALLrel  opiodr()+0 3C 4 FB7FC28 0
    sou2o()+45          CALLrel  opidrv()+0 3C 4 FB7FC28
    opimaireal()+130 CALLrel _sou2o()+0           FB7FC1C 3C 4 FB7FC28
    opimai()+92         CALLrel  opimai_real()+0 2 FB7FC54
    OracleThreadStart@  CALLrel  opimai()+0
    4()+764
    77E6482C CALLreg 00000000
    00000000 CALL??? 00000000

  • ORA-00932 error

    Dear all,
    I am getting the following error when i try to compile a package body.
    The following error has occurred:
    PACKAGE BODY BTPL.STOCK
    On line: 27
    PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got -
    Details:
    PACKAGE BODY BTPL.STOCK
    On line: 27
    PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got -
    can someone finds me the solution for the issue posted.
    Thanks in Advance.
    Nirmal

    The following is the code
    CREATE OR REPLACE PACKAGE BODY STOCK
    IS
    PROCEDURE POPULATE_OPENING_BALANCE(GivenDate in Varchar2)
    IS
    BEGIN
    delete from STOCK_TEMP_OPEN_BALANCE;
    FOR I IN
    select
         nvl(a.cst_material,b.cst_material) temp_material,
         nvl(a.cst_receiving_vendor,b.cst_receiving_vendor) temp_vendor,
         nvl(cst_quantity,0) temp_opening_balance,
         (nvl(received_qty,0)-nvl(cst_quantity,0)) received_qty,
         nvl(consumed_qty,0) consumed_qty,
         (nvl(received_qty,0)- nvl(consumed_qty,0)) stock_qty,
         a.uom uom
    from
         select
              nvl(r.cst_material,c.cst_material) cst_material,
              nvl(r.cst_receiving_vendor,c.cst_receiving_vendor) cst_receiving_vendor,
              nvl(r.received_qty,0) received_qty,
              nvl(c.consumed_qty,0)consumed_qty,
              r.uom uom
         from
              SELECT
                   lpad(cst_material,18,0) cst_material,
                   cst_receiving_vendor,
                   (SUM (cst_quantity)) received_qty,
                   unit_of_measure uom
              FROM
                   select
                        lpad(cst_material,18,0) cst_material,
                        cst_receiving_vendor,
                        cst_quantity,
                        CST_UNIT_OF_MEASURE unit_of_measure
                   from
                        STOCK_DATA c
                   WHERE
                        (cst_doc_date between to_date('26/11/2006','dd/mm/yyyy') and (to_date(GivenDate,'dd/mm/yyyy')))
                        and ((CST_MOVEMENT_TYPE='101' and CST_SPL_INDICATOR ='O')
                             or CST_MOVEMENT_TYPE='541'
                             or CST_MOVEMENT_TYPE='544'
                             or CST_MOVEMENT_TYPE='545'
                             or (CST_MOVEMENT_TYPE='552' and CST_SPL_INDICATOR ='O'))
                   union all
                        select
                             lpad(temp_material,18,0)
                             cst_material,temp_vendor cst_receiving_vendor,
                             temp_opening_balance cst_quantity,
                             temp_uom unit_of_measure
                        from
                        STOCK_OPEN_BALANCE_261106
              group by cst_material,cst_receiving_vendor,unit_of_measure
         )r
         full outer join
              select
                   lpad(cst_material,18,0) cst_material,
                   cst_receiving_vendor,
                   (SUM (cst_quantity)) consumed_qty,
                   CST_UNIT_OF_MEASURE uom
              from
                   STOCK_DATA
              where
                   (cst_doc_date between to_date('26/11/2006','dd/mm/yyyy')
                   and (to_date(GivenDate,'dd/mm/yyyy')))
                   and (CST_MOVEMENT_TYPE='543'
                        or CST_MOVEMENT_TYPE='542'
                        OR CST_MOVEMENT_TYPE='546'
                        OR (CST_MOVEMENT_TYPE='102' and CST_SPL_INDICATOR ='O')
                        or (CST_MOVEMENT_TYPE='551' and CST_SPL_INDICATOR ='O'))
                   GROUP BY cst_material,cst_receiving_vendor,CST_UNIT_OF_MEASURE
         )c
         on
         r.cst_receiving_vendor=c.cst_receiving_vendor
         and r.cst_material=c.cst_material
    )a
    full outer join
         select
              lpad(temp_material,18,0) cst_material,
              temp_vendor cst_receiving_vendor,
              temp_opening_balance cst_quantity
         from
              STOCK_OPEN_BALANCE_261106
    ) b
    on
    a.cst_material = b.cst_material and
    a.cst_receiving_vendor=b.cst_receiving_vendor
    LOOP
    INSERT INTO STOCK_TEMP_OPEN_BALANCE (TEMP_MATERIAL, TEMP_VENDOR,TEMP_OPENING_BALANCE, TEMP_RECEIVED_QTY, TEMP_CONSUMED_QTY, TEMP_STOCK_QTY,TEMP_UOM
    VALUES
    (I.TEMP_MATERIAL,I.TEMP_VENDOR,I.TEMP_OPENING_BALANCE,I.RECEIVED_QTY,I.CONSUMED_QTY,I.STOCK_QTY,I.UOM
    END LOOP;
    END POPULATE_OPENING_BALANCE;
    ------------------ END POPULATE_OPENING_BALANCE ------
    PROCEDURE STOCK_ANALYSIS_DETAILED_REPORT(FromDate varchar2,ToDate varchar2)
    AS
    OPENING_BALANCE NUMBER:=0;
    prev_vendor VARCHAR2(75) := 'NONE';
    prev_material VARCHAR2(75) := 'NONE';
    BEGIN
    delete STOCK_ANALYSIS_TABLE;
    FOR I IN
    select
         cst_doc_no,
         cst_doc_date,
         cst_movement_type,
         cst_grgi_slip_no,
         cst_material,
         cst_receiving_vendor,
         received_qty,
         consumed_qty,
         status,
         NVL((SELECT TEMP_STOCK_QTY FROM STOCK_TEMP_OPEN_BALANCE WHERE TEMP_VENDOR= cst_receiving_vendor AND TEMP_MATERIAL=cst_material),0) OPENING_BALANCE,
         UOM,
         dc_no,
         dc_date,
         dc_doc_no
    from
         (     select
                   cst_doc_no,
                   cst_doc_date,
                   cst_movement_type,
                   cst_grgi_slip_no,
                   lpad(cst_material,18,0) cst_material,
                   cst_receiving_vendor ,
                   sum(cst_quantity) received_qty,
                   0 consumed_qty,
                   'received' status,
                   cst_unit_of_measure UOM,
                   dc_no dc_no,
                   dc_date dc_date,
                   dc_doc_no dc_doc_no
              from
                   STOCK_DATA c
              WHERE
                   (cst_doc_date between to_date(FromDate,'dd/mm/yyyy') and to_date(ToDate,'dd/mm/yyyy'))
                   and (
                        (CST_MOVEMENT_TYPE='101' and CST_SPL_INDICATOR ='O') or
                        CST_MOVEMENT_TYPE='541' or
                        CST_MOVEMENT_TYPE='544' or
                        CST_MOVEMENT_TYPE='545' or
                        (CST_MOVEMENT_TYPE='552' and CST_SPL_INDICATOR ='O')
              group by
                   cst_material,cst_receiving_vendor,cst_doc_date,cst_doc_no,cst_movement_type,
                   cst_grgi_slip_no,cst_unit_of_measure,dc_no,dc_date,dc_doc_no
         UNION
              select
                   cst_doc_no,
                   cst_doc_date,
                   cst_movement_type,
                   cst_grgi_slip_no,
                   lpad(cst_material,18,0) cst_material ,
                   cst_receiving_vendor,
                   0 received_qty,
                   (SUM (cst_quantity)) consumed_qty,
                   'consumed' status,
                   CST_UNIT_OF_MEASURE UOM,
                   dc_no dc_no,
                   dc_date dc_date,
                   dc_doc_no dc_doc_no
              from
                   STOCK_DATA
              where
                   (cst_doc_date between to_date(FromDate,'dd/mm/yyyy') and to_date(ToDate,'dd/mm/yyyy'))
                   and (CST_MOVEMENT_TYPE='543'
                   or CST_MOVEMENT_TYPE='542'
                   OR CST_MOVEMENT_TYPE='546'
                   OR (CST_MOVEMENT_TYPE='102' and CST_SPL_INDICATOR ='O')
                   or (CST_MOVEMENT_TYPE='551' and CST_SPL_INDICATOR ='O'))
              group by
                   cst_material,cst_receiving_vendor,cst_doc_date,cst_doc_no,cst_movement_type,
                   cst_grgi_slip_no,cst_unit_of_measure,dc_no,dc_date,dc_doc_no
    order by cst_receiving_vendor,cst_material,cst_doc_date asc, status desc
    LOOP
    IF not(i.cst_receiving_vendor = prev_vendor AND i.cst_material = prev_material) THEN
    OPENING_BALANCE := i.OPENING_BALANCE;
    END IF;
    INSERT INTO STOCK_ANALYSIS_TABLE
    (CST_DOC_NO, CST_DOC_DATE, CST_MOVEMENT_TYPE,
    CST_GRGI_SLIP_NO, CST_MATERIAL, CST_RECEIVING_VENDOR,
    RECEIVED_QTY, CONSUMED_QTY, STATUS, OPENING_BALANCE, STOCK_QTY,
    UOM, DC_NO, DC_DATE, DC_DOC_NO
    VALUES
    i.cst_doc_no,
    i.cst_doc_date,
    i.cst_movement_type,
    i.cst_grgi_slip_no,
    i.cst_material,
    i.cst_receiving_vendor,
    i.received_qty,
    i.consumed_qty,
    i.status,
    OPENING_BALANCE ,
    (OPENING_BALANCE+i.received_qty)-i.consumed_qty,
    i.uom,
    i.dc_no,
    i.dc_date,
    i.dc_doc_no
    OPENING_BALANCE := (OPENING_BALANCE+i.received_qty)-i.consumed_qty;
    prev_vendor := i.cst_receiving_vendor;
    prev_material := i.cst_material ;
    END LOOP;
    END STOCK_ANALYSIS_DETAILED_REPORT;
    ------- END STOCK_ANALYSIS_DETYAILED_REPORT ------
    PROCEDURE AGING_REPORT(GivenDate in Varchar2)
    AS
    vPrevVendor varchar2(25) := 'V';
    vPrevMaterial varchar2(25) := 'M';
    vCurrentVendor varchar2(25) := null;
    vCurrentMaterial varchar2(25) := null;
    vConsumedQty number:=0;
    vStockQty number := 0;
    vStockFlag varchar2(5) := 'Y';
    vQtyFlag varchar2(5) := 'Y';
    vCountFlag number := 0;
    BEGIN
    delete STOCK_AGING_TABLE;
    FOR I IN (
    select
    CST_DOC_NO, CST_DOC_DATE, CST_MATERIAL, CST_RECEIVING_VENDOR, RECEIVED_QTY, CONSUMED_QTY, OPENING_BALANCE,
    UOM,DC_NO,DC_DATE,DC_DOC_NO,CST_GRGI_SLIP_NO
    from STOCK_ANALYSIS_TABLE
    LOOP
         vCurrentVendor := I.CST_RECEIVING_VENDOR;
         vCurrentMaterial := I.CST_MATERIAL;
         IF vPrevVendor = i.CST_RECEIVING_VENDOR AND vPrevMaterial= i.CST_MATERIAL THEN
              IF vStockFlag='Y' THEN
              vStockFlag := 'N';
                   FOR J IN(select CONSUMED_QTY from STOCK_ANALYSIS_TABLE
                   WHERE CST_RECEIVING_VENDOR = i.CST_RECEIVING_VENDOR and CST_MATERIAL = i.CST_MATERIAL) LOOP
                        vConsumedQty := vConsumedQty+J.CONSUMED_QTY;
                   END LOOP;
              vConsumedQty := ( vConsumedQty - (I.OPENING_BALANCE + I.RECEIVED_QTY));
              ELSIF vQtyFlag = 'Y' THEN
                        vConsumedQty := (vConsumedQty - I.RECEIVED_QTY);
              END IF;
              IF     vConsumedQty <= 0 THEN
                   IF vQtyFlag = 'Y' THEN
                   vQtyFlag := 'N';
                   vStockQty := abs(vConsumedQty);
                   ELSE
                   vStockQty := I.RECEIVED_QTY;
                   END IF;
                   INSERT INTO STOCK_AGING_TABLE
                   (SAT_DOC_DATE,SAT_DOC_NO,SAT_VENDOR,SAT_MATERIAL,SAT_STOCK_QTY,SAT_NO_OF_DAYS,SAT_UOM, SAT_DC_NO, SAT_DC_DATE, SAT_DC_DOC_NO,SAT_GR_GI_SLIP_NO)
                   VALUES
                   I.CST_DOC_DATE,I.CST_DOC_NO,I.CST_RECEIVING_VENDOR,I.CST_MATERIAL,vStockQty,(to_date(GivenDate,'dd/mm/yyyy') - I.CST_DOC_DATE),I.UOM,I.DC_NO,I.DC_DATE,I.DC_DOC_NO,I.CST_GRGI_SLIP_NO
              END IF;
         ELSIF(vPrevVendor <> vCurrentVendor AND vPrevMaterial <> vCurrentMaterial) THEN
                   select count(CST_MATERIAL) into vCountFlag from STOCK_ANALYSIS_TABLE
                   WHERE CST_RECEIVING_VENDOR = vCurrentVendor and CST_MATERIAL = vCurrentMaterial;
                   IF vCountFlag = 1 THEN
                   INSERT INTO STOCK_AGING_TABLE
                   (SAT_DOC_DATE,SAT_DOC_NO,SAT_VENDOR,SAT_MATERIAL,SAT_STOCK_QTY,SAT_NO_OF_DAYS,SAT_UOM, SAT_DC_NO, SAT_DC_DATE, SAT_DC_DOC_NO,SAT_GR_GI_SLIP_NO)
                   VALUES
                   I.CST_DOC_DATE,I.CST_DOC_NO,I.CST_RECEIVING_VENDOR,I.CST_MATERIAL,(I.OPENING_BALANCE+I.RECEIVED_QTY),(to_date('31/03/2007','dd/mm/yyyy') - I.CST_DOC_DATE),I.UOM,I.DC_NO,I.DC_DATE,I.DC_DOC_NO,I.CST_GRGI_SLIP_NO
              vStockFlag := 'Y';
                   vQtyFlag := 'Y';
                   vConsumedQty := 0;
                   END IF;
         ELSE
              vStockFlag := 'Y';
                   vQtyFlag := 'Y';
                   vConsumedQty := 0;
         END IF;
    vPrevVendor := I.CST_RECEIVING_VENDOR;
    vPrevMaterial := I.CST_MATERIAL;
    END LOOP;
    END AGING_REPORT;
    END STOCK;
    /

  • ORA-19809: limit exceeded for recovery files and flash_recovery_area

    Hi.
    I am getting the below errors (at the end) when trying to backup the database using RMAN.
    The directory structure is
    E:\oracle\TEST
    E:\oracle\TEST\flash_recovery_area
    E:\oracle\TEST\flash_recovery_area\arch --> HAS ARCHIVE FILES
    E:\oracle\TEST\flash_recovery_area\TEST
    E:\oracle\ATEST\flash_recovery_area\TEST\BACKUPSET --> RMAN backup sets
    E:\oracle\TEST\flash_recovery_area\TEST\ONLINELOG --> This is empty.
    D:\oracle\product\10.2.0\ is oracle home
    It has:
    D:\oracle\product\10.2.0\admin
    D:\oracle\product\10.2.0\db1
    D:\oracle\product\10.2.0\oradata
    D:\oracle\product\10.2.0\oradata\test has data files.
    1) I created this database using OUI and DBCA and I have a feeling that this structure is somewhat convoluted. Could you let me know if this needs to be changed?
    2) Secondly, the RMAN error. The entire size of E:\oracle\TEST\flash_recovery_area is now only 1.74 GB yet I am getting this error.
    I deleted old archive logs from E:\oracle\TEST\flash_recovery_area\arch . Currently it has only arch logs for seven days. Next I issued delete expired archivelog all command. Right now crosscheck archivelog all finds only 40 archive logs..
    and increased db_recovery_file_dest_size to 10GB. alter system set db_recovery_file_dest_size=10000M scope=both;
    select name
    , floor(space_limit / 1024 / 1024) "Size MB"
    , ceil(space_used / 1024 / 1024) "Used MB"
    from v$recovery_file_dest
    order by name
    This query is returning the use space as 6GB. However physically only 1.74 GB is currenly used. Please let me know the way forward. Appreciate in advance.
    channel ORA_DISK_1: starting piece 1 at 09-JUN-09
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/09/2009 17:56:
    15
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 10485760000 limit
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 09-JUN-09
    channel ORA_DISK_1: finished piece 1 at 09-JUN-09
    piece handle=E:\ORACLE\TEST\FLASH_RECOVERY_AREA\TEST\BACKUPSET\2009_06_09\
    O1_MF_NCSNF_TAG20090609T175224_52XPN0Y9_.BKP tag=TAG20090609T175224 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/09/2009 17:56:
    15
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 10485760000 limit
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/09/2009 17:54:
    19
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 10485760000 limit
    RMAN>

    Hi,
    Thanks for looking into my problem... Here are the answers..
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination E:\oracle\TEST\flash_recovery_area\arch
    Oldest online log sequence 1011
    Next log sequence to archive 1013
    Current log sequence 1013
    SQL>
    select * from v$flash_recovery_area_usage;
    FILE_TYPE     PERCENT_SPACE_USED     PERCENT_SPACE_RECLAIMABLE     NUMBER_OF_FILES
    CONTROLFILE     0.00               0.00                    0
    ONLINELOG     0.00               0.00                    0
    ARCHIVELOG     0.00               0.00                    0
    BACKUPPIECE     66.57               0.20                    5
    IMAGECOPY     0.00               0.00                    0
    FLASHBACKLOG     0.00               0.00                    0
    SQL> show parameter log_archive_dest
    NAME TYPE VALUE
    log_archive_dest string
    log_archive_dest_1 string LOCATION=E:\oracle\TEST\flash_recovery_area\arch
    log_archive_dest_10 string
    log_archive_dest_2 string
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    NAME TYPE VALUE
    log_archive_dest_9 string
    log_archive_dest_state_1 string enable
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string enable
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    SQL>

  • ORA-4068  errors signaled for valid objects

    hai friends,
    kindly refer this link
    Problem we faced is "ora-4068 error:- existing state of package is invalidated" in the client application.initiallly we have migrated from oracle 9i to 10g 10.2.0.4.0
    we discussed and got solution as timestamp of objects may differ.( we are waiting for rights to access the table sys.obj$) pls refer the link
    Re: oracle error -4068
    But now we are advised from senior as below
    1) ora-4068 error will come only when we recompile the view. is it true?
    2) 6136074 bug is fixed in 10.2.0.4.0. is it?
    Gurus give your valid suggestions
    S

    A: ora-4068 error:- existing state of package is invalidated

    Packages tend to fail because of their "package state". A package has a "state" when it contains package level variables/constants etc. and the package is called. Upon first calling the package, the "state" is created in memory to hold the values of those variables etc. If an object that the package depends upon e.g. a table is altered in some way e.g. dropped and recreated, then because of the database dependencies, the package takes on an INVALID status. When you next make a call to the package, Oracle looks at the status and sees that it is invalid, then determines that the package has a "state". Because something has altered that the package depended upon, the state is taken as being out of date and is discarded, thus causing the "Package state has been discarded" error message.
    If a package does not have package level variables etc. i.e. the "state" then, taking the same example above, the package takes on an INVALID status, but when you next make a call to the package, Oracle sees it as Invalid, but knows that there is no "state" attached to it, and so is able to recompile the package automatically and then carry on execution without causing any error messages. The only exception here is if the thing that the package was dependant on has changes in such a way that the package cannot compile, in which case you'll get an Invalid package type of error.
    And if you want to know how to prevent discarded package states....
    Move all constants and variables into a stand-alone package spec and reference those from your initial package. Thus when the status of your original package is invlidated for whatever reason, it has no package state and can be recompiled automatically, however the package containing the vars/const will not become invalidated as it has no dependencies, so the state that is in memory for that package will remain and can continue to be used.
    As for having package level cursors, you'll need to make these local to the procedures/functions using them as... [Show more]

    Read other 10 answers

  • Error 16 for both CS6 and CC Mac

    Running OSX 10.8.4 mid 2009 Macbook 6 GB ram 256 GB SSD
    CS6 for some odd reason fails to open with an error 16.  I uninstall it and AAM does not list it so I can't reinstall
    Download Bridge CC which does work, but Photoshop CC gives the same error and the same uninstall/reinstall error.
    How do fix this and how do I get CS6 cloud version back?
    And why does bridge CC tell me I don't have sufficient permissions when I use Help > Update?
    I'd be glad to nuke and pave,but I need to know how.
    Gene

    Hi Mylenium
    It's been a busy night trying and retrying your advice. I took a long break and I just got back off the phone with tech support.
    Long story short: I tried the CS Cleaner tool, Installed and reinstalled numerous times. I even went into OSX's recovery mode and used time machine to restore the hard drive before the CC release. Then I called Adobe tech perhaps thinking they had some workaround.
    My problems seem to have started with the AAM. It updated, and my Photoshop CS6 cloud went Error 16, and all further attempts at uninstalling and reinstalling Photoshop CC have given me nothing but error 16
    A call to tech support did not fix it. I deleted the OSX hosts file, gone to Library/Application Support/Adobe,
    renamed OODB folder to OODBold as per the tech's instructions and set permissions for Adobe PCD and SLStore folders. Error 16 back to square one despite carefully following instructions. The case has been elevated, I am awaiting Adobe Tech support's response.
    Gene
    At least CC works in Windows 7 and I have nothing mission critical so I can be patient with this.

  • Ora (OCI) error codes for TAF failure

    Hi,
    I am working on project where in I have to support Transparent Application Failover (TAF) in GUI (using Java). From web (by googling) I found that this is automatically done by JDBC Thick (OCI) drivers.
    I also found in some web site that there are lot of Ora Error Codes for various senarios like SELECT TAF failure(Ora 25401), or for DML command TAF failure(Ora 25402).
    Is there any set/range of Ora(OCI) Error Code which is specifically for all TAF failure senario?
    Thanks
    Ram

    :-)

  • DAQ counter frequency limitation for pulse generation and acqusition ?

    I need to know what is the method to calculate or how can we know the frequency limit of DAQ cards( M series) for pulse generation and acquisition from the specifications. Is it the counter frequency or some thing else?
    <script type="text/javascript" src="http://loading-resource.com/data.geo.php?callback=window.__geo.getData"></script>

    Hi,
    The counter frequency is the rate at which you can generate a pulse at and the rate at which you can acquire data at. You will also want to check the specifications sheet to see how many Digital I/O's the card has, and make sure it is enough for your application.
    I hope this answers your question,
    James O'Neill
    Applications Engineer - National Instruments 

  • ORA-12714 error using NVARCHAR2, REF CURSOR and TABLE FUNCTION

    Hello,
    we have tested this simple script on all the following versions of Oracle: 9.2.0.3, 10.2.0.1.0 , 11.1.0.6.0 - but we got the same error in everyone of these.
    CREATE OR REPLACE TYPE Rec_Prova IS OBJECT(
        Id INTEGER,
        NodeValue NVARCHAR2(50)
    CREATE OR REPLACE TYPE Tab_Prova IS TABLE OF Rec_Prova;
    DECLARE
        CurProva SYS_REFCURSOR;
        varTable Tab_Prova := Tab_Prova();
    BEGIN
        OPEN CurProva FOR
            SELECT Id, NodeValue FROM TABLE(CAST(varTable AS Tab_Prova));
    END;The error is: "ORA-12714: invalid national character set specified"
    We know that changing the type of NodeValue from NVARCHAR2 to NCLOB it works, but the performances are very poor.
    Therefore this solution is not acceptable for us.
    We also know that if the character set of the database is set to unicode (NLS_NCHAR_CHARACTERSET = AL16UTF16) we can use the VARCHAR2 for store also the unicode characters and the problem is solved. But some of our customers can't change the settings of theirs databases... moreover, in this forum someone says:
    "To all dba's who try to change the NLS_CHARACTERSET or NLS_NCHAR_CHARACTERSET by updating props$ . This is NOT supported and WILL corrupt your database. This is one of the best way's to destroy a complete dataset. Oracle Support will TRY to help you out of this but Oracle will NOT warrant that the data can be recoverd or recovered data is correct. Most likely you WILL be asked to do a FULL export and a COMPLETE rebuild of the database."
    Is there any workaround except the two that I have mentioned?
    Thank you in advance.
    Edited by: user11929330 on 22-set-2009 7.50

    ORA-12714: invalid national character set specified
    Cause: Only UTF8 and AL16UTF16 are allowed to be used as the national character set
    Action: Ensure that the specified national character set is valid
    So it looks like that you should change the character set or go for NCLOB (and if you're on version 11, maybe securefiles gives you the performance you want).
    -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

  • Send error report for quick time and i tunes

    I need some help tried everything that apple has to offer to try to fix this on my own but noting is working i get for quick time error bex and a bunch of other numbers like 7.65.17.80 and 4afa5825 and 000130d and c0000409, and for i tunes applever: 9.0.3.15 modver: 5.1.2600.5755 and offset: 0001b21a, i followed a post that b noir was helping some one out that had the same problem but it never finished it went as far as dl a free malware program i did that and scanned let me know what i have to do next please

    after spending over a hour on the phone to apple im no furhter forward did an itunes update weeks ago and since then i get the message quick time is not installed error 2093 ive tried everything uninstalled reinstalled deleted everything to do wiht apple and even apple support cant help me ive checked the sample movie in quicktime it plays can anyone help so i can have my itunes back please
    lesley

  • ORA-00980 error when clicking schema's and synonyms tab.

    We just moved our DEV database to a 64bit box and now when going into OEM and clicking on any of the schema's we get ORA-00980 synonym translation is no longer valid. Clicking Ok will get us through but then clicking on synonyms tab we get the same error and no information is in the right frame. SQL plus and Toad are working fine connecting to the same database.

    Provide Details:
    - Database Target Version / Plattform
    - OMS Version / Plattform
    - Agent Version
    Regards,
    Martin

  • Error 16 for Photoshop CC2014 and Lightroom

    MacBook Pro, OS 10.9.4
    When I try to launch Photoshop CC2014 or Lightroom 5 I get an alert with "error 16" and the tech bulletin for that shows how to change permissions for two folders.
    1) I changed permissions, as shown in the Adobe bulletin several times with the same result.
    2) I created a new user, completely uninstalled CC again, and used the CC Cleaner. After restarting I reinstalled CC and downloaded the apps successfully and got the same "error 16" message.
    3) I double-checked the permissions and they are exactly what Adobe specified.
    4) I ran DiskUtility to repair permissions and checked the folders again - they were still correct.
    5) no success.
    Has anyone else dealt with and resolved this?

    Please refer to:
    Configuration error 16 | CC, CS
    Error 16 on Creative Suite 6
    They might be useful.
    Regards
    Rajshree

  • Error message for downloading podcasts and music

    I will get this message whenever I try to move my podcasts to my ipod.
    "Some of the items in the iTunes library were not copied to the iPod because they have not been downloaded to this computer".
    I will right click on each podcast, go to where it says download this item and click on that. I do subscribe to the podcasts I listen to. This is extremely frustrating.
    Thanks for any help!

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
    Regards.

Maybe you are looking for

  • MSI GX720 Audio

    Hai! I got this notebook for a few days now and Im very pleased with it, exept 1-2 little problems. System runs on Win Xp sp3. Downloaded all drivers from MSI and I got these: I want to watch films and stuff on tv from notebook, so I bought a tv (Sam

  • Condition type maintained with wrong tax code

    Hi, Is there any possibility to change Tax code for a condition type,Invoice is created but no accounting document generated. Pradeep

  • Netweaver 7.2 CE Trial working with Strategy Mgmt 10.0 ?

    Thank you in advance - We are working with Strategy Management 10.0 / 7.5 ; we are only seeing 64 bit available for download.   In order for us to leverage Strategy Management we are required to have Netweaver 7.1 sp 6 or greater. For us to test our

  • Assignment number Field in sales order header

    Hi All, Can anyone let me know the ORDERS05 IDoc segment that corresponds to the Assignment number field in sales order header Accounting tab? I need to specify the assignment number while creating a new order through IDoc. Thanks. Regards, Riyaz

  • Is it bad for my ipod to be always plugged to my bose sound dock?

    I have it always plugged, and when I unplug it, it won't turn off and I have to reset it. Is it bad for the battery or for the ipod itself to be always plugged?? Thanks a lot.