Oracle Streams and CLOB column

Hello

We use "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit. My question is "Does Oracle Streams capture, spreads (source capture method) and applies the CLOB column changes?"

If so, is this default behavior? Can we say Brooks to exclude all of the CLOB column (capture-spreading-request) process?

Thanks in advance!

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14229/strms_capture.htm#i1006263

Tags: Database

Similar Questions

  • Database objects can be replicated using Oracle Streams and which object cannot be replicated?

    Hi Experts,

    I need clarification on the sub questions,.


    Database objects can be replicated using Oracle Streams and which object cannot be replicated?

    How can we check that what schema and objects are used streams replication and which schema and objects is not used in the replication stream?

    Thanks in advance.

    Select *.
    of dba_streams_unsupported
    where owner | '.' || table_name (...)

    order by 1, 2, 3;

  • Oracle Streams and impdp?

    Hi, I am not a DBA or anything close :)... in a project that I'm getting, there are 2 or more prod servers that are connected
    through flow for bi directional data replication. Now, we must develop a back/restore mechanism using scripts. The back of the scripts take the dump using expdp of a schema and the restore script use impdp to apply it. Is there any where I can apply using impdp to a database and the flow will apply to all other databases. I tried Googling, yahooing, everything, but to no avail. We use also dataguard and his strange for me, dataguard applies the changes on the day before, each time I have doing an impdp on the primary database.

    Maybe that is wrong my understanding in streams...

    Any help is greately appreciated.

    Thank you
    Renjith

    Renjith,

    Answering your question:

    Yes, if all databases are configured with the replication stream. An example of only 2 databases A and B when you set up replication Streams from A to B, here if you perform impdp for a schema (which is configured for replication) database so all changes made by the impdp will be replicated on database B.

    If you have configured bidirectional replication between 2 or more databases (can be n star) then the impdp changes must be replicated to all other databases.

    However, you can see that replication does not occur after performing impdp, then you must apply the hotfix for the bug: 5220845>. This bug is fixed on 10.2.0.4 group of hotfixes (also in 11.1.0.6-> background 11g Release) and more. If you run a group of fixes lower than that (like 10.2.0.3) then apply the single patch for this bug. Take a look at the following note on metalink:

    "Water does not replicate data imported with Datapump."

    Thank you
    Florent

  • Download file in/from DB Oracle Clob column

    Hello

    12.1.3 Jdev

    I have a database table that has a Clob column to store the file and a varchar2 column to store the file name.

    I want to have a screensaver to download files in this table.

    Would like to know the best way to achieve this functionality.

    See you soon

    AJ

    The files are usually stored in BLOB column (and not on the CLOB type)

    Here is an example that you can follow: https://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-2/

    Dario

  • Oracle Streams Advanced Queuing and advanced replication

    Hi experts,

    I don't have much experience in Oracle. Please tell me what is "Oracle Streams" in simple words. What is use of this example.

    difference between "Oracle Streams, advanced and advanced replication queues".

    Reg,

    Hard

    Hi harsh,

    I'll try and simply summarize for you.

    (1) advanced replication - the ancient mode of replication of data between databases - no one really uses this method more (even if it's still there)

    (2) AQ (or now renamed as streams AQ I think) is a technology of queues for the publication and subscription to messages - it is not a replication method on its own, but is a key technology for manufacturing workflow

    (3) water - a replication technology course complete with a huge amount of flexibility (and complexity) - one of the best tools of the oracle set product - but it is now be depracated in favor of goldengate (in large part because GG is a costly option, personally, I think)

    (4) goldengate - just like rivers but can replicate to/from databases (Sql server, sybase etc.) non-oracle

    streams and goldengate roughly the same work but are implemented very differently - flow is much plsql and queues, GG is to learn another language (although scripting tool really)

    hope that helps.

    See you soon,.

    Rich

  • Additional logging with Oracle 10 g 2 streams and Data Guard

    Hello

    I have a physical environment with DB Oracle 10 g 2 and Standby with Data Guard DR CONF. At the present time, this environment will be extended to a pattern of replication using 2-way Oracle Streams Replication (for replication to the central office of this branch, other channels will be added soon). The primary DB is replicated to the other primary DB (at the telephone exchange remotely).

    So, there's my question: it is completely necessary to specify an additional record on data sources (primary) to set the 2-way Streams replication? and, if it is completely necessary, then, can configure additional connection on primary without affecting their physical Standby, or what I have to do something special?

    Thanks in advance.

    Yes, for the streams you need additional registration. There is no impact on databases physical standby.

  • Oracle streams heterogeneous Support (non-Oracle and Oracle databases) envi

    Oracle streams heterogeneous Support (non-Oracle and Oracle databases) environments?

    It is possible to move data from Oracle to DB2 using Oracle Streams?

    Hello

    Visit this link

    http://download-West.Oracle.com/docs/CD/B28359_01/server.111/b28322/hetero.htm

    Kind regards
    Deepak

  • Audting CLOB column

    Hi all

    DB version: Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production (PL/SQL Release 11.2.0.4.0 - Production)

    Brief Description: column CLOB audit until anonymous PLSQL block but does not update an external application (such as a web application).

    More in detail, we have a base with a CLOB column table and an audit table that captures any change on the base table using a trigger of DB.

    Table audit this as below:

    IDNOT NULL NUMBER (38)
    COMPONENT_KEYTHE NUMBER OF NON-NULL
    CHANGEDCOLUMNNAMEVARCHAR2 (30)
    CHANGEDBYVARCHAR2 (20)
    CHANGEDDATEDATE
    BEFORECHANGECLOB
    EVENTCLO

    We observe that the audit works perfectly fine if we update the prompt SQL CLOB column. But when the column is updated. a web UI - the trigger retrieves the value of

    :OLD.CLOB_COLUMN 
    

    and reads an empty clob

    :NEW.CLOB_COLUMN
    

    .

    Possible explanation: read in-depth, including that CLOB actuallly stores the reference to memory location & database manages insertions/changes effectively CLOB columns by first introducing an EMPTY_CLOB and then subsequently using DBMS_LOB. Write() for transmitting the content of CLOB to the location of the DB. DB trigger seems to be pulled between the insert EMPTY_CLOB & the DBMS_LOB. Write() and accordingly, we find that: NEW. CLOB_COLUMN to be EMPTY_CLOB.

    The above explanation makes sense? If so, why does it work correctly from the SQL prompt? Can we not check a DB trigger CLOB columns at all?

    Thank you

    Srini

    On additional debugging, it seems not to be a problem with the database. She seems to be the implementation of JDBC for CLOB data types - where it is a 2-step process

    STEP 1 - Insert EMPTY_CLOB

    STEP 2 - lock the line & enter the stream to broadcast content to CLOB CLOB.

    Given that triggers executed immediately after STEP 1 - the NEW value is EMPTY. Here, the concepts of database are intact. In this case, the check must arrive at the JDBC layer.

  • How to view the report on one Clob column online?

    Hello

    In a set of columns in the report created with the wizard to create a Page, a Clob column is made that resembles a dozen lines high. The other elements are the high standard of a line. How can I load Apex to restore the Clob, the same height as the other columns (on one line)? Left like that, I'll only be able to see 2 or 3 lines at once, even if there is very little data in Clob columns.

    I would have attached a screenshot, but I do not see this feature on the forum site.

    BTW, I guess this is a common newbie question. I don't see an answer in the Forum or in the documentation. Your response is appreciated.

    Thank you
    Kim

    Kim2012 wrote:
    Unfortunately, at this stage of my Apex maturity, it would be very difficult for me to reproduce the problem on apex.oracle.com (don't laugh, Jedi are not built in a day).

    It's very simple.

    1. sign up for an account on apex.oracle.com.
    2. in your local installation of the APEX, go to SQL Workshop > utilities > generate DDL. Click create a Script and use the wizard to generate a DDL script that contains the objects of database required by your application. (You can find out what they use Application Builder > Application > utilities > database object dependencies.)
    3. your local installation of APEX export demand.
    4. download and run the DDL file on apex.oracle.com using SQL Workshop > Scripts SQL.
    5 import the request to apex.oracle.com.

    So I resort to ad a page to SkyDrive. When you see the picture, the question will be very clear and I guess that there is a way to dusty solution tucked away in the vault. Note: I would like to limit the height of the text element, not the width of it. Here's the URL for the screenshot.

    Go to the Notes column attributes. Define the number of rows to 1 and the attributes of the element to

    style="height: 1.3em;"
    

    You may need to adjust the height to match other items. (Or according to browser [s], may not need any: in Firefox on Windows 7 14 "number of lines: 1" seems to mean "number of rows: 2". ") (Go figure.)

  • with package htp clob column

    All,
    I need assistance with data in clob column display dynamic content with any appropriate package but iam currently using htp.p, it seems to not work well. Some of my clob values are so big like length > = 18000 but when I use htp.p all the output text is collected without any line break, but I want to display the data IS STORED in the column to the table... any help is appreciated thank you.

    I think you can maximum diisplay 32 767 characters. You need to replace Chr (13) and Chr (10) with
    in order to get it displays as you wish.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Line terminator of parameter for a CLOB column by script

    Hi all

    I have a CLOB column in my table that receives the external data (more than 400 sources).
    The GUI application it displays in multiple different ways due to the incoming line terminators.

    Here's the strange thing:
    In Developer SQL 3.1.06. I chose in preferences-> environment, as line terminator: carriage return and line Fe (Windows)
    Once I committed changes to the data has been properly displayed in the application (apparently was also recoding).

    My Question is:
    How can I configure this property to the column or table to solve the problem?
    (I'm looking for a DDL script or something like).

    Thanks in advance.

    Mijail o. T.

    You can not.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • Add information to the byte to clob column

    Hi all

    We need to change a CLOB column with 160 bytes of data that are added based on binary data, that is added before the actual binary data
    The information to be appended is Personid (NUMBER), (CHAR) type of the Image and Image Code (CHAR)

    160 bytes-
    1 - 0x00
    2-21: equivalent PersonID byte (length = 20). For personid, only 9 bytes to use remaining should be defined as 0x00
    22-24: Image type equivalent byte (length = 3). If the type of image length less than 3, as 0x00
    25-28: equivalent byte Image Code (length = 4). If the image length less than 4 code, set it as 0x00
    29-160 - 0x00

    Is it possible through PL/SQL or only application level we can achieve this?

    Env: Oracle 11.1.0.6 SE

    Thank you
    Arun

    Not sure where you have all your values, but in principle he would like something as

    declare
      cursor c_idb_image
      is
        select dl.lob_data d, dl.lob_id id, .....
          from itf.dxf_lob dl, system.conv_temp t
         where dl.lob_id = t.psr_roll_lob_id
           and dl.lob_id = t.psr_slap_lob_id
           and dl_lob_id = t.qrf_roll_lob_id;
    
      prepend_blob   blob;
    begin
      dbms_lob.createtemporary (prepend_blob, true);
    
      for c in c_idb_image
      loop
        dbms_lob.append (prepend_blob, utl_raw.cast_to_raw (chr (0)));
        dbms_lob.append (prepend_blob, c.personid);
        dbms_lob.append (prepend_blob, c.imagetype);
        dbms_lob.append (prepend_blob, c.imagecode);
        dbms_lob.append (prepend_blob, utl_raw.cast_to_raw (rpad (chr (0), 132, chr (0))));
        dbms_lob.append (prepend_blob, c.lob_data);
    
        insert into idb.idb_image_fp
             values (id.nextval, c.image_type, c.image_code, c.revision_no, c.datetime_create, prepend_blob);
      end loop;
    end;
    /
    
  • GetLength errors on CLOB. Retrieves the size of a table with CLOB columns

    Hello

    I try to find the size of a CLOB to a table column and get the error

    PLS-00306: wrong number or types of arguments in the call to "GETLENGTH.

    When you try to use dbms_lob.getlength. Here is the code


    declare
    number num.
    Start
    for rec in (select xmlupload from FILE_TABLE where file_table_id = 33635) loop
    NUM: = dbms_lob.getLength (rec.xmlupload);
    end loop;
    dbms_output.put_line (num);
    end;

    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi


    I'm actually trying to find the size of a table with CLOB columns, is there an easy way to do this Besides using getlength and without having to contact the Administrators (they are outsourced)?

    It works fine on my computer, the version is also 10g.

    SQL> declare
      2  num number;
      3  begin
      4  for rec in (select cntnt from ims_toms_msge where rownum<3) loop
      5  num := dbms_lob.getLength(rec.cntnt);
      6  dbms_output.put_line(num);
      7  end loop;
      8
      9  end;
     10  /
    3837
    3837
    
    PL/SQL procedure successfully completed.
    

    You should check if xmlupload is the CLOB data type.
    In addition, if you just want to get the CLOB size, you can use LENGTH() as well, you will get the same result;

    SQL>  select length(cntnt), dbms_lob.getLength(cntnt) from ims_toms_msge where rownum<2;
    
    LENGTH(CNTNT) DBMS_LOB.GETLENGTH(CNTNT)
    ------------- -------------------------
             3837                      3837
    

    Published by: PhoenixBai on September 24, 2009 13:40

  • Analyze a clob column XML.

    Dear Sir

    I've been suffreing a problem about xml.
    I have a table with two columns, one is given bfile another type is clob data type. A xml data is stored in the two plate
    as clob, and bfile. My xml data format is correct.
    When I took the xml data for the bfile column, dbms_xmlparser.parseClob properly analyze my xml data.

    Code below:
    =======================================
    DBMS_LOB.CREATETEMPORARY (l_clob, cache = > FALSE);
    DBMS_LOB.loadFromFile (dest_lob = > l_clob,)
    src_lob = > l_bfile,
    amount = > dbms_lob.getLength (l_bfile));
    l_parser: = dbms_xmlparser.newParser;
    dbms_xmlparser.parseClob (l_parser, l_clob); ========================================

    But when I got the xml data are clob column directly, then dbms_xmlparser.parseClob analysis failed and go to the exception.

    Code below:
    ====================================================================
    DBMS_LOB.CREATETEMPORARY (l_clob, cache = > FALSE);

    Select xml_cfile, xml_bfile
    in l_clob, l_bfile
    of xml_load_in

    l_parser: = dbms_xmlparser.newParser;
    dbms_xmlparser.parseClob (l_parser, l_clob); -has no analysis

    ====================================================================


    declare

    l_bfile BFILE.
    l_clob CLOB.
    l_parser dbms_xmlparser. Analyzer;
    l_doc dbms_xmldom. DOMDocument;

    Start

    DBMS_LOB.CREATETEMPORARY (l_clob, cache = > FALSE);

    Select xml_cfile, xml_bfile
    in l_clob, l_bfile
    of xml_load_in



    l_parser: = dbms_xmlparser.newParser;
    dbms_xmlparser.parseClob (l_parser, l_clob);

    l_doc: = dbms_xmlparser.getDocument (l_parser);
    DBMS_LOB.freeTemporary (l_clob);
    dbms_xmlparser.freeParser (l_parser);

    exception
    DBMS_LOB.freeTemporary (l_clob);
    dbms_xmlparser.freeParser (l_parser);
    dbms_xmldom.freeDocument (l_doc);
    End;


    Example:
    = - File_name: = Outward.xml;

    CREATE OR REPLACE DIRECTORY
    MY_INWARD AS
    'D:\PBM\Inward\ ';

    CREATE TABLE XML_LOAD_IN
    (XML_CFILE, CLOB,
    BFILE XML_BFILE
    );

    INSERT INTO XML_LOAD_IN (XML_CFILE, XML_BFILE)
    VALUES)
    ' <? XML version = "1.0" encoding = "UTF-8"? >
    < BACPSInterface >
    < OCE >

    < EHR >
    < StandardLevel > 03 < / StandardLevel >
    < TestFiledIndicator > T < / TestFiledIndicator >
    < ImmediateDestRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / ImmediateDestRoutingNumber >
    < ImmediateOriginRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / ImmediateOriginRoutingNumber >
    < FileCreationDate > 20090714 < / FileCreationDate >
    < > 1047 FileCreationTime < / FileCreationTime >
    < ResendIndicator > N < / ResendIndicator >
    < ECESettlementDate > 20090714 < / ECESettlementDate >
    < ECESessionTime > 1047 < / ECESessionTime >
    < ECESettlementTime > 1047 < / ECESettlementTime >
    < ECEtype > 01 < / ECEtype >
    < CountryCode > BD < / CountryCode >
    < / EHR >
    < collection >

    < CHR >
    < CashLetterBusinessDate > 20090714 < / CashLetterBusinessDate >
    < CashLetterCreationDate > 20090714 < / CashLetterCreationDate >
    < CashLetterCreationTime > 1047 < / CashLetterCreationTime >
    < CashLetterRecordTypeInd > I < / CashLetterRecordTypeInd >
    < CashLetterDocTypeIndicator > G < / CashLetterDocTypeIndicator >
    < CashLetterID > 1 < / CashLetterID >
    Bank of Asia < OriginatorContactName > < / OriginatorContactName >
    < OriginatorContactPhoneNumber > XXX < / OriginatorContactPhoneNumber >
    < / CHR >
    < ForwardBundle >

    < BHR >
    < CollectionTypeIndicator > I < / CollectionTypeIndicator >
    < DestRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / DestRoutingNumber >
    < ECEInstitutionRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / ECEInstitutionRoutingNumber >
    < BundleBusinessDate > 20090714 < / BundleBusinessDate >
    < BundleCreationDate > 20090714 < / BundleCreationDate >
    < BundleID > 1 < / BundleID >
    < ReturnLocationRoutingNumber > 070127538 < / ReturnLocationRoutingNumber >
    < / BHR >

    < CDR >
    < CDR num = "1" >
    < ECESettlementDate > 20090714 < / ECESettlementDate >
    < ECESessionTime > 1047 < / ECESessionTime >
    < ECESettlementTime > 1047 < / ECESettlementTime >
    < ECEItemType > N < / ECEItemType >
    < IssuingBranchRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / IssuingBranchRoutingNumber >
    < AccountNumber > 0000334008221 < / account number >
    < ChequeSequenceNumber > 1601735 < / ChequeSequenceNumber >
    < ItemAmount > 500 < / ItemAmount >
    < ECEInstitutionItemSequencNum > 0701275380000001 < / ECEInstitutionItemSequencNum >
    < DocumentationTypeIndicator > I < / DocumentationTypeIndicator >
    < ReturnAcceptanceIndicator > 6 < / ReturnAcceptanceIndicator >
    < MICRValidIndicator > 1 < / MICRValidIndicator >
    < BOFDIndicator > Y < / BOFDIndicator >
    < ChequeDetailRecAddendumCount > 0 < / ChequeDetailRecAddendumCount >
    < CorrectionIndicator > 0 < / CorrectionIndicator >
    < RepresentmentIndicator > 0 < / RepresentmentIndicator >
    < ArchiveTypeIndicator > F < / ArchiveTypeIndicator >
    < / CDR >
    < CDR num = "2" >
    < ECESettlementDate > 20090714 < / ECESettlementDate >
    < ECESessionTime > 1047 < / ECESessionTime >
    < ECESettlementTime > 1047 < / ECESettlementTime >
    < ECEItemType > N < / ECEItemType >
    < IssuingBranchRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / IssuingBranchRoutingNumber >
    < AccountNumber > 0000345682256 < / account number >
    < ChequeSequenceNumber > 1234567 < / ChequeSequenceNumber >
    < ItemAmount > 1000 < / ItemAmount >
    < ECEInstitutionItemSequencNum > 0701275380000002 < / ECEInstitutionItemSequencNum >
    < DocumentationTypeIndicator > I < / DocumentationTypeIndicator >
    < ReturnAcceptanceIndicator > 6 < / ReturnAcceptanceIndicator >
    < MICRValidIndicator > 1 < / MICRValidIndicator >
    < BOFDIndicator > Y < / BOFDIndicator >
    < ChequeDetailRecAddendumCount > 0 < / ChequeDetailRecAddendumCount >
    < CorrectionIndicator > 0 < / CorrectionIndicator >
    < RepresentmentIndicator > 0 < / RepresentmentIndicator >
    < ArchiveTypeIndicator > F < / ArchiveTypeIndicator >
    < / CDR >
    < / CDR >

    ADC <>
    < CDA num = "1" >
    < AddendumRecordNumber > 1 < / AddendumRecordNumber >
    < BOFDRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 75 < / DistrictCode >
    < > 12 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / BOFDRoutingNumber >
    < BOFDBusinessEndorsementDate > 20090714 < / BOFDBusinessEndorsementDate >
    < BOFDDepositAccountNumber > 0000334008221 < / BOFDDepositAccountNumber >
    < BOFDDepositBranch > 753 < / BOFDDepositBranch >
    < PayeeName > XXX < / PayeeName >
    < TruncationIndicator > Y < / TruncationIndicator >
    < BOFDConversionIndicator > 2 < / BOFDConversionIndicator >
    < BOFDCorrectionIndicator > 0 < / BOFDCorrectionIndicator >
    < / CDA >
    < CDA num = "2" >
    < AddendumRecordNumber > 1 < / AddendumRecordNumber >
    < BOFDRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 75 < / DistrictCode >
    < > 12 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / BOFDRoutingNumber >
    < BOFDBusinessEndorsementDate > 20090714 < / BOFDBusinessEndorsementDate >
    < BOFDDepositAccountNumber > 0000345682256 < / BOFDDepositAccountNumber >
    < BOFDDepositBranch > 753 < / BOFDDepositBranch >
    < PayeeName > XXX < / PayeeName >
    < TruncationIndicator > Y < / TruncationIndicator >
    < BOFDConversionIndicator > 2 < / BOFDConversionIndicator >
    < BOFDCorrectionIndicator > 0 < / BOFDCorrectionIndicator >
    < / CDA >
    < / CDA >

    < CDC >
    < CDC num = "1" >
    < AddendumCRecordNumber > 1 < / AddendumCRecordNumber >
    < EndorsingBankRountingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / EndorsingBankRountingNumber >
    < EndorsingBankEndorsementDate > 20090714 < / EndorsingBankEndorsementDate >
    < EndorsingBankEndorsementDate > 20090714 < / EndorsingBankEndorsementDate >
    < EndorsingBankItemSequenceNum > 0701275380000001 < / EndorsingBankItemSequenceNum >
    < TruncationIndicator > Y < / TruncationIndicator >
    < EndorsingBankConversionInd > 2 < / EndorsingBankConversionInd >
    < EndorsingBankCorrectionInd > 0 < / EndorsingBankCorrectionInd >
    < / CDC >
    < CDC num = "2" >
    < AddendumCRecordNumber > 1 < / AddendumCRecordNumber >
    < EndorsingBankRountingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / EndorsingBankRountingNumber >
    < EndorsingBankEndorsementDate > 20090714 < / EndorsingBankEndorsementDate >
    < EndorsingBankEndorsementDate > 20090714 < / EndorsingBankEndorsementDate >
    < EndorsingBankItemSequenceNum > 0701275380000002 < / EndorsingBankItemSequenceNum >
    < TruncationIndicator > Y < / TruncationIndicator >
    < EndorsingBankConversionInd > 2 < / EndorsingBankConversionInd >
    < EndorsingBankCorrectionInd > 0 < / EndorsingBankCorrectionInd >
    < / CDC >
    < / CDC >

    < DIV >
    < DIV num = "1" >
    < ImageIndicator > 1 < / ImageIndicator >
    < ImageCreatorRountingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / ImageCreatorRountingNumber >
    < ImageCreatorDate > 20090714 < / ImageCreatorDate >
    < ImageViewFormatIndicator > 0 < / ImageViewFormatIndicator >
    < ImageViewCompressionAlg > 0 < / ImageViewCompressionAlg >
    < ViewSideIndicator > 0 < / ViewSideIndicator >
    < ViewDescriptor > 0 < / ViewDescriptor >
    < DigitalSignatureIndicator > 1 < / DigitalSignatureIndicator >
    < DigitalSignatureMethod > 0 < / DigitalSignatureMethod >
    < SecurityKeySize > 12235 < / SecurityKeySize >
    < ImageRecreateIndicator > 0 < / ImageRecreateIndicator >
    < / DIV >
    < DIV num = "2" >
    < ImageIndicator > 1 < / ImageIndicator >
    < ImageCreatorRountingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / ImageCreatorRountingNumber >
    < ImageCreatorDate > 20090714 < / ImageCreatorDate >
    < ImageViewFormatIndicator > 0 < / ImageViewFormatIndicator >
    < ImageViewCompressionAlg > 0 < / ImageViewCompressionAlg >
    < ViewSideIndicator > 0 < / ViewSideIndicator >
    < ViewDescriptor > 0 < / ViewDescriptor >
    < DigitalSignatureIndicator > 1 < / DigitalSignatureIndicator >
    < DigitalSignatureMethod > 0 < / DigitalSignatureMethod >
    < SecurityKeySize > 12235 < / SecurityKeySize >
    < ImageRecreateIndicator > 0 < / ImageRecreateIndicator >
    < / DIV >
    < / DIV >

    < IVT >
    < IVT num = "1" >
    < ECEInstitutionRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / ECEInstitutionRoutingNumber >
    < BundleBusinessDate > 20090714 < / BundleBusinessDate >
    < Cyclenumber(1,3) > 0 < / Cyclenumber(1,3) >
    < ECEInstitutionItemSeqNumber > 0701275380000001 < / ECEInstitutionItemSeqNumber >
    < ClippingOrigin >
    < source > 0 < / original >
    < CoordinateH1 > 0000 < / CoordinateH1 >
    < CoordinateH2 > 0000 < / CoordinateH2 >
    < CoordinateV1 > 0000 < / CoordinateV1 >
    < CoordinateV2 > 0000 < / CoordinateV2 >
    < / ClippingOrigin >
    < LengthofImageReferenceKey > 0 < / LengthofImageReferenceKey >
    < LengthofDigitalSignature > 0 < / LengthofDigitalSignature >
    < LengthofImageData > 1 < / LengthofImageData >
    < OffsetToImageData > 01001000 < / OffsetToImageData >
    < / IVT >
    < IVT num = "2" >
    < ECEInstitutionRoutingNumber >
    < code > 070 < / code >
    < DistrictCode > 12 < / DistrictCode >
    < > 75 BranchCode < / BranchCode >
    < > 8 CheckDigit < / CheckDigit >
    < / ECEInstitutionRoutingNumber >
    < BundleBusinessDate > 20090714 < / BundleBusinessDate >
    < Cyclenumber(1,3) > 0 < / Cyclenumber(1,3) >
    < ECEInstitutionItemSeqNumber > 0701275380000002 < / ECEInstitutionItemSeqNumber >
    < ClippingOrigin >
    < source > 0 < / original >
    < CoordinateH1 > 0000 < / CoordinateH1 >
    < CoordinateH2 > 0000 < / CoordinateH2 >
    < CoordinateV1 > 0000 < / CoordinateV1 >
    < CoordinateV2 > 0000 < / CoordinateV2 >
    < / ClippingOrigin >
    < LengthofImageReferenceKey > 0 < / LengthofImageReferenceKey >
    < LengthofDigitalSignature > 0 < / LengthofDigitalSignature >
    < LengthofImageData > 1 < / LengthofImageData >
    < OffsetToImageData > 01001000 < / OffsetToImageData >
    < / IVT >
    < / IVT >

    < IVA >
    < IVA num = "1" >
    < GlobalImageQuality > 0 < / GlobalImageQuality >
    < GlobalImageUsability > 1 < / GlobalImageUsability >
    < ImagingBankSpecificTest > 1 < / ImagingBankSpecificTest >
    < / IVA >
    < IVA num = "2" >
    < GlobalImageQuality > 0 < / GlobalImageQuality >
    < GlobalImageUsability > 1 < / GlobalImageUsability >
    < ImagingBankSpecificTest > 1 < / ImagingBankSpecificTest >
    < / IVA >
    < / IVA >

    < BCR >
    < ItemsWithinBundleCount > 2 < / ItemsWithinBundleCount >
    < BundleTotalAmount > 1500 < / BundleTotalAmount >
    < MICRValidTotalAmount > 1500 < / MICRValidTotalAmount >
    < / BCR >
    < / ForwardBundle >

    < COST >
    < BundleCount > 1 < / BundleCount >
    < ItemWithinCashLetterCount > 2 < / ItemWithinCashLetterCount >
    < CashLetterTotalAmount > 1500 < / CashLetterTotalAmount >
    < ImagesWithinCashLetterCount > 2 < / ImagesWithinCashLetterCount >
    Bank of Asia < ECEInstitutionName > < / ECEInstitutionName >
    < SettlementDate > 20090714 < / SettlementDate >
    < / CCR >
    < / collection >

    < REC >
    < CashLetterCount > 1 < / CashLetterCount >
    < TotalRecordCount > 2 < / TotalRecordCount >
    < TotalItemCount > 2 < / TotalItemCount >
    < FileTotalAmount > 1500 < / FileTotalAmount >
    Bank of Asia < ImmediateOriginContactName > < / ImmediateOriginContactName >
    < ImmediateOriginContactNumber > XXX < / ImmediateOriginContactNumber >
    < / REC >
    < / OCE >
    < / BACPSInterface > '
    BFILENAME ('MY_INWARD', 'Outward.xml'));
    COMMIT;

    What version of Oracle (4 digits) and what is the error?

    It runs without error on 10.2.0.4 (although you can go directly from a CLOB to a DOMDocument via dbms_xmldom)

    -- Created on 9/14/2009 by JH20567
    declare
      -- Local variables here
      l_clob   CLOB;
      l_parser dbms_xmlparser.Parser;
      l_doc    dbms_xmldom.DOMDocument;
    begin
      -- Test statements here
       l_clob := '
    
       
          
             03
             T
             
                070
                12
                75
                8
             
             
                070
                12
                75
                8
             
             20090714
             1047
             N
             20090714
             1047
             1047
             01
             BD
          
          
             
                20090714
                20090714
                1047
                I
                G
                1
                Bank Asia
                XXX
             
             
                
                   I
                   
                      070
                      12
                      75
                      8
                   
                   
                      070
                      12
                      75
                      8
                   
                   20090714
                   20090714
                   1
                   070127538
                
                
                   
                      20090714
                      1047
                      1047
                      N
                      
                         070
                         12
                         75
                         8
                      
                      0000334008221
                      1601735
                      500
                      0701275380000001
                      I
                      6
                      1
                      Y
                      0
                      0
                      0
                      F
                   
                   
                      20090714
                      1047
                      1047
                      N
                      
                         070
                         12
                         75
                         8
                      
                      0000345682256
                      1234567
                      1000
                      0701275380000002
                      I
                      6
                      1
                      Y
                      0
                      0
                      0
                      F
                   
                
                
                   
                      1
                      
                         070
                         75
                         12
                         8
                      
                      20090714
                      0000334008221
                      753
                      XXX
                      Y
                      2
                      0
                   
                   
                      1
                      
                         070
                         75
                         12
                         8
                      
                      20090714
                      0000345682256
                      753
                      XXX
                      Y
                      2
                      0
                   
                
                
                   
                      1
                      
                         070
                         12
                         75
                         8
                      
                      20090714
                      20090714
                      0701275380000001
                      Y
                      2
                      0
                   
                   
                      1
                      
                         070
                         12
                         75
                         8
                      
                      20090714
                      20090714
                      0701275380000002
                      Y
                      2
                      0
                   
                
                
                   
                      1
                      
                         070
                         12
                         75
                         8
                      
                      20090714
                      0
                      0
                      0
                      0
                      1
                      0
                      12235
                      0
                   
                   
                      1
                      
                         070
                         12
                         75
                         8
                      
                      20090714
                      0
                      0
                      0
                      0
                      1
                      0
                      12235
                      0
                   
                
                
                   
                      
                         070
                         12
                         75
                         8
                      
                      20090714
                      0
                      0701275380000001
                      
                         0
                         0000
                         0000
                         0000
                         0000
                      
                      0
                      0
                      1
                      01001000
                   
                   
                      
                         070
                         12
                         75
                         8
                      
                      20090714
                      0
                      0701275380000002
                      
                         0
                         0000
                         0000
                         0000
                         0000
                      
                      0
                      0
                      1
                      01001000
                   
                
                
                   
                      0
                      1
                      1
                   
                   
                      0
                      1
                      1
                   
                
                
                   2
                   1500
                   1500
                
             
             
                1
                2
                1500
                2
                Bank Asia
                20090714
             
          
          
             1
             2
             2
             1500
                   Bank Asia
                   XXX
              
         
    ';
       l_parser := dbms_xmlparser.newParser;
       dbms_xmlparser.parseClob(l_parser, l_clob);
    
       l_doc := dbms_xmlparser.getDocument(l_parser);
       dbms_lob.freetemporary(l_clob);
       dbms_xmlparser.freeParser(l_parser);
       dbms_xmldom.freeDocument(l_doc);
    end;
    
  • Why is a unique index created implicitly on a CLOB column?

    Hello.

    On a 9.2.0.7 db I modified a table to change a column in a CLOB, I saw that a unique index was implicitly created for the new column.
    This is the normal of the alter behavior when you change a Long on the CLOB type? Why?

    It's strange to me because later I inserted 3 folders on the table with the same text in the CLOB column (I guess the backs of oneness does not refer to the ascii content). What is unique?
    SQL> select index_name, index_type, uniqueness from user_indexes where table_name = 'R2_CONFIG' and index_type = 'LOB';
    
    INDEX_NAME                     INDEX_TYPE                  UNIQUENES
    ------------------------------ --------------------------- ---------
    SYS_IL0000012898C00006$$       LOB                         UNIQUE
    Thanks in advance.

    fsanchezherrero wrote:

    I also noticed that I can not rebuild the index for the tablespace where the other indexes. Is this normal?

    As I said, Oracle maintains LOBINDEX internal. You can not just move to a different tablespace. And unless you're on 8.0, you can't even set/alter tablespace using ALTER TABLE, although Oracle allows you to specify CREATE TABLE:

    SQL> create table t(id number,c clob)
      2  lob(c) store as c_clob(index(tablespace example))
      3  /
    
    Table created.
    
    SQL> select index_name, index_type,tablespace_name from user_indexes where table_name = 'T';
    
    INDEX_NAME                     INDEX_TYPE                  TABLESPACE_NAME
    ------------------------------ --------------------------- ------------------------------
    SYS_IL0000109090C00002$$       LOB                         USERS
    
    SQL> drop table t
      2  /
    
    Table dropped.
    
    SQL> create table t(id number,c clob)
      2  lob(c) store as c_clob(tablespace example index(tablespace users))
      3  /
    
    Table created.
    
    SQL> select index_name, index_type,tablespace_name from user_indexes where table_name = 'T';
    
    INDEX_NAME                     INDEX_TYPE                  TABLESPACE_NAME
    ------------------------------ --------------------------- ------------------------------
    SYS_IL0000109093C00002$$       LOB                         EXAMPLE
    

    At least they fixed ALTER TABLE:

    SQL> alter table t modify lob(c) (index(tablespace userts))
      2  /
    alter table t modify lob(c) (index(tablespace userts))
                                       *
    ERROR at line 1:
    ORA-22853: invalid LOB storage option specification
    

    SY.

Maybe you are looking for

  • Send an email to ios10-

    Expensive, why Apple removed the up/down arrows on the upper left side of the screen e-mail? I had more than 600 e-mails a day and some more important that I keep for later reading / response. Do not expect Apple restore this very important function?

  • Remove app installed with App Manager remove debugging

    I enabled debugging remote on Firefox for Android, connected to App Manager desktop Firefox and press "Refresh".Now app is listed in 'Apps' in my Firefox for Android, but not in the app drawer, so now I can't lunch the app or uninstall it.Even debugg

  • Windows 10 guard break

    Whenever I try to install Windows 10, install fine. However, about 10 minutes after the bootcamp drivers have installed and restart the computer, the screen goes black and I can't do anything, so I have to restart. Before arriving at the login screen

  • The application of health on my new 6s shows "no data" power, active energy and stand hours of rest.

    Health app shows "no data" power, active energy and stand hours of rest

  • Cannot connect remotely TestStand engine-17851

    Have had some strange behaviour tries to run the remote call in sequence. It works on certain combinations of PC, others do not! Ex.: A to B (and vice versa) works, C to D also works well, but has to C or C to A or B to D comes with the mistake-17851