How to add sequence to ddl suuport

Hi Friends
The goldengate is not replicating the sequences. I saw the reference guide and it says adding the sequence parameter with the sequence name in the extract and replicat parameter would work.
It want to make sure whether i need to do something else on top of it or just adding sequence parameter would work?
Thank you

Hi
Thanks for replying.
We are doing a migration from oracle 10.2.0.4 to oracle 11.2.0.3 and we configured oracle goldengate setup (ogg v11.2.1.0.1). We were having duplication error and so the oracle support suggested us to disable the triggers and redo the initial load. We did that and the issue was solved. Now after doing the migration our application is now pointing to target database(11.2.0.3), but when are starting jobs on our new database we are getting constrain violation errors and later we figured out that it is due to the sequence.
Every single “IMAGE” table in Oracle has an extra column called xxx_ID. This column is used to store a unique number that mimics an IMAGE record number. This is needed in IMAGE/Transport to allow for record manipulation and access using record numbers instead of key values or following chains, something that is done in the application.
This xxxxxx_id is populated automatically by Oracle using an insert trigger that gets a unique value from a sequence. There is a sequence for each of the 1000 or so IMAGE tables in Oracle. When we tried to add a row in xxxx table, we got a unique constraint violation. The only column that has a unique constraint is xxxx_ID.
We checked the sequence xxxxxxx_SEQ and its next number is 4828930. I checked the table looking for the maximum value for xxxxx_ID and it is 4831661. It appears that the sequence is about 5000 records short of where it should be.
My understanding is that since the triggers where disabled and so the sequence values did not change and stayed at there original values. On top of it the sequence were not in the extract and replicat list.
I think if I add sequence to ddl support then no matter whether the triggers are enabled or disabled the sequence should be in sync with the source database sequence.
If not then we have to rebuild the sequences on target by taking script from source database before pointing the application to target database.
Thank you

Similar Messages

  • How to add sequence number in inner querry

    Hi friends,
    I have a problem regarding SQL code.
    Suppose that the queery is like this
    SELECT a.*,
         b.*,
    FROM
         (SELECT 'ename'
         FROM dual) a,
         (SELECT ename --hear in this querry I am getting two rows , so I want to identify those two rows by a sequence number(sequence no is must to me)
         FROM emp
         WHERE sal < 1000) b     -- In emp table only two employes are there with sal<1000
    Please help me any one....

    You don't need a subquery.
    SQL> SELECT * FROM EMP;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
          4568 salim
    15 rows selected.
    SQL> SELECT 'ENAME'COLA,EMPNO,SEQ_SA.NEXTVAL RE_NO
      2  FROM EMP
      3  WHERE SAL<5000;
    COLA       EMPNO      RE_NO
    ENAME       7369          1
    ENAME       7499          2
    ENAME       7521          3
    ENAME       7566          4
    ENAME       7654          5
    ENAME       7698          6
    ENAME       7782          7
    ENAME       7788          8
    ENAME       7844          9
    ENAME       7876         10
    ENAME       7900         11
    COLA       EMPNO      RE_NO
    ENAME       7902         12
    ENAME       7934         13
    13 rows selected.
    SQL> SELECT 'ENAME'COLA,EMPNO,SEQ_SA.NEXTVAL RE_NO
      2  FROM EMP
      3  WHERE SAL<1000;
    COLA       EMPNO      RE_NO
    ENAME       7369         14
    ENAME       7900         15
    SQL>

  • How to print sequence number for a text item in a oracle reports

    Hi
    I have text item which repets for every round,if i have 3 or 4 rounds i should number the text item as 1,2,3,4 etc.... in a report.
    Can anybody help me
    Thanks in advance

    Hi Bob
    Thank you for your reply.
    Here is the data for example:
    Jobxxxx
    Round
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    So Bob everything is comming from tables except round.
    My question is how to add sequence number to round adn the result should be like this:
    Jobxxxx
    Round 1
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round 2
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round 1
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    Thank you in advance

  • How to add prefix to standard PO sequence.

    Hi all,
    Requirement is how to add prefix to Purchase order number auto generated sequence.

    The only options you have for po numbering is automatic and manual.
    What you are looking for is not available out of the box.
    You can always write a customization to achieve it.
    Here are couple of options for the customization. You will have to explore them a little bit to identify any pitfalls.
    1) A before-insert trigger on po_headers_all that appends the suffix to the PO#
    2) A when-new-record-instance personalization to generate the new PO# with suffix.
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • How to Add a graphical Sequence panel  in a webhelp layout?

    Hi,
    Can anyone please let me know how to add a graphical pane on
    the top right of every topic which would show the flow of sequence,
    the single source layout being webhelp.
    I'll be more clear......
    If we click on Help>Tutorial>HTML ROBOHELP Tutorial. we
    see a panel on the right which shows the graphical flow of files.
    Can i do the same when i create a webhelp layout.(in html
    format)....Please Please Please let me know!
    Thanks
    Sincerely
    Siddb.

    Hi Siddb and welcome to our community
    What you see in the RoboHelp help file is a browse sequence
    as it is presented in a Compiled .CHM file. WebHelp and FlashHelp
    do not offer this type of a browse sequence. Instead, they use
    little Previous and Next arrows that sit just above the Table of
    Contents/Index/Glossary/Search in that little toolbar.
    Cheers... Rick

  • How to add audio to image sequence?

    I've imported a Photoshop image sequence into FCP X 10.1.1.  Dropped it on the timeline, created a compound clip.  So far I can't figure out how to add audio of any kind.  I've tried starting over, making sure properties had audio setting enabled.  No change though.  No matter what I try, no audio tab in the inspector.  What am I missing?
    Thanks,
    Michael

    Are you importing an audio file that is seperate? Otherwise it is attached to your video. in the timeline, choose expand audio & video. You can import almost any format. Import it into the same event that you are in - a song from your desktop or from your folder where you copied all your contents from your camera card or music from ITunes (in which case you use the audio tab on the far right of the timeline UNDER THE INSPECTOR).
    How did you import your media?:
    Help?

  • How to add audio to sequence of slides, not whole presentation nor individual slide?

    I want to add an audio track which will play during a sequence of slides in Keynote, but I can only find how to add to a single slide or add to whole presentation.

    Question asked and answered many times. Here is one…
    https://discussions.apple.com/message/12787720#12787720

  • How to add a button in top ribbons of ALL library types (Not just document libraries)?

    Hi there,
    How to add this custom button on all Library Types (Not just document libraries)?
    RegistrationId="101" RegistrationType="List" adds this button to Document Libraries only - which does not work for me.
    Thanks so much.

    Hi,
    According to your post, my understanding is that you wanted to add a custom button on the ribbon of all the library.
    You can refer to the following code snippet, it would add a custom button “Site Settings” on the ribbon of all the libraries.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="ListViewCustomization" Location="CommandUI.Ribbon.ListView" RegistrationId="101" RegistrationType="List" Title="List View Ribbon Customization">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Documents.Share.Controls._children">
    <Button Id="ListViewButton" Command="ListViewButtonCommand" Description="Go to Settings" LabelText="Site Settings" TemplateAlias="o2" Sequence="93"/>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ListViewButtonCommand" CommandAction="/_layouts/settings.aspx" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference: http://msdn.microsoft.com/en-us/library/ms473643.aspx
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • How to Add custom Attribute in XML

    How to add Custom attribute recusrivly. With sequence order.
    //Before xml:-
    var myxml:XML=
    <root>
    <leval0 >
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    </leval0>
    </root>
    ////After xml:
    var myxml:XML=
    <root>
    <leval0 levalid="0" >
    <leval1 levalid="0_0" >
    <leval2 levalid="0_0_0"></leval2>
    <leval2 levalid="0_0_1"></leval2>
    </leval1>
    <leval1 levalid="0_1" >
    <leval2 levalid="0_1_0"></leval2>
    <leval2 levalid="0_1_1"></leval2>
    </leval1>
    </leval0>
    </root>

    //call this method
                trace(addAttribute(myxml));
    //method
                private function addAttribute(node:XML, depth:String = ""):XML
                    if (node.hasComplexContent())
                        var count:int = 0;
                        var prefix:String = 0 < depth.length ? depth + "_" : "";
                        var currentAtt:String;
                        for each (var nodeItem:XML in node.children())
                            currentAtt = prefix + count;
                            nodeItem.@levalid = currentAtt;
                            addAttribute(nodeItem,currentAtt);
                            count++;
                    return node;

  • How to add an Infotype to an exsting Infoset (ad hoc query)

    Hi,
    How to add an Infotype (Ex. 0025) to an exsting Infoset (ad hoc query)?
    I was trying by clicking on 'Extras' tab & create...I get three options, create field, create table or create structure.
    I am not sure which to use or is there any other way? Pls. let me know the steps...
    Also what is this 'Package', which is aked whenever you create or change an Infoset.
    Pls. suggest.
    Tnx
    SKR

    I was able to add the infotype by adding the table as PA0025 & include all the fields in the field group.
    When I check, I get the following error:
    "Access to PA0025 with sequence no. 01"
    Message Text
       Access to PA0025 with sequence number 01
    Technical data
    Message type__________ W (Warning)
    Message class_________ AQ (Message texts for SAP Query)
    Message number________ 006
    Message variable 1____    Access to PA0025 with sequence number 01
    Message variable 2____ 
    Message variable 3____ 
    Message variable 4____ 
    Message attributes
    Level of detail_______ 4 (Level of detail 4)
    Problem class_________ 3 (medium)
    Sort criterion________ 
    Number________________ 1
    Do we need to input the sequence no. as 00? or is their anything else that I have to maintain?
    Tnx
    SKR

  • How to add an unique column to an existing table?

    How to add an unique column to an existing table?
    I have a large table which has no unique constraint. and I want to add an unique column for it. How to do it?
    Does adding a sequence is a good choice? How to do it?
    Thank you

    Hi,
    alter table tablename
    add constraint contraint_name unique (columnname);but before that you need to check in the table.column there is no duplicate record exist.
    Does adding a sequence is a good choice?
    Your talking about unique constraint then yes.
    Regards,
    Taj

  • XSLT Mapping: how to add one day to TimeStamp

    Hello Experts,
    My requirement is to add one day to current timestamp. Used $TimeSent to get the currenttimestamp. In Expired field, the need to add one day
    say Created= 2011-03-30T20:29:13Z
           Expired = 2011-03-31T20:29:13Z
         <xsl:param name="TimeSent"/>
         <created><xsl:value-of select="$TimeSent"/></created>
         <expired>2011-03-31T20:29:13Z</expired>
    How to add one day to the current timestamp. I am new to XSLT mapping and need some help with the code.
    Thanks
    Shikha Jain
    Edited by: Jain Shikha on Mar 30, 2011 8:34 PM
    Edited by: Jain Shikha on Mar 30, 2011 8:36 PM

    Hello All,
    Thanks for your reply. i tried the function and the code is working when i am testing in stylus studio. But the same code gives error when i  tested the xslt mapping in PI (Error: TransformerConfigurationException triggered while loading XSLT mapping).
    $TimeSent function is working when code is tested in PI , but it doesnot give value in stylus studio. Also Current-dateTime() function is doesnot give value in PI but works in stylus studio. Is there any difference in the functions used in stylus studio and XSLT mapping in PI?
    Also if i remove the code used for function(to add one day to timestamp), and use constant value(2011-04-02T23:24:56.763Z)the code is working fine in PI. Please help me to find out where the code is going wrong when tested in PI.
    Below is the XSLT code i am using
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ds="http://xsltsl.org/date-time" xmlns:functx="http://www.functx.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
       <xsl:function name="functx:next-day" as="xs:date?">
          <xsl:param name="TimeSent" as="xs:anyAtomicType?"/>
          <xsl:sequence select="xs:date(current-date()) + xs:dayTimeDuration(&apos;P1D&apos;) "/>
       </xsl:function> 
    <xsl:template match="/">
          <xsl:param name="TimeSent"/>
          <soapenv:Envelope xmlns:olsa="http://www.skillsoft.com/services/olsa_v1_0/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
             <soapenv:Header>
                <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   <wsu:Timestamp wsu:Id="Timestamp-191900" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsu:Created>
                         <xsl:value-of select="$TimeSent"/>
               </wsu:Created>
    <wsu:Expires>
         <xsl:value-of select="concat(substring(functx:next-day($TimeSent) ,1,10) ,&apos;T&apos;, current-time())"/>                  </wsu:Expires>
                   </wsu:Timestamp>
                   <wsse:UsernameToken wsu:Id="UsernameToken-19030197" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                      <wsse:Username>ABC</wsse:Username>
                      <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">XYZ</wsse:Password>
                      <wsse:Nonce>erDTBNoUWv7GdHDaErrLwA==</wsse:Nonce>
                      <wsu:Created>2011-02-15T23:24:56.763Z</wsu:Created>
                   </wsse:UsernameToken>
                </wsse:Security>
             </soapenv:Header>
             <soapenv:Body>
                <olsa:GetMultiActionSignOnUrlRequest>
                   <olsa:customerId>ABC</olsa:customerId>
                   <olsa:userName>XYZ</olsa:userName>
                   <olsa:actionType>launch</olsa:actionType>
                   <olsa:assetId>222499_eng</olsa:assetId>
                   <olsa:groupCode>testgrp</olsa:groupCode>
                </olsa:GetMultiActionSignOnUrlRequest>
             </soapenv:Body>
          </soapenv:Envelope>
       </xsl:template>
    </xsl:stylesheet>
    Thanks
    Shikha Jain
    Edited by: Jain Shikha on Apr 2, 2011 9:51 PM

  • How to add multiple audio transitions

    I know how to add multiple video transitions to a whole series of clips, but I want to add a cross fade to every audio clip in the sequence....how can I do this if at all, or is it not possible? Thanks

    I'm suspecting that you don't have the destination tabs set correctly when you drag the audio clips to the canvas overlays.
    Destination & Source tabs are the tabs located at the left side of the timeline. When you want to add audio cross fades to your audio clips, do the following:
    1. Set the played at the beginning of the sequence.
    2. Click the video source tab to disconnect it from the video track.
    3. Verify that the audio source tabs are connected to the audio tracks that you want the audio edited to.
    4. Select your audio clips.
    5. Drag the selected audio clips to the Overwrite with Transition overlay in the canvas.

  • How to add TIMESTAMP data type in  Enterprise Architect...?

    Hi all
    There is no data type of timestamp in Enterprise Architech. There is only
    DATE type. I have ERD prepared from Enterprise Architech. How to modify
    DATE type to TIMESTAMP type.
    How to add TIMESTAMP data type in Enterprise Architect or in ERD ?
    Thanks in advance,
    Pal

    Have you asked this question of the vendor of Enterprise Architect? They may have a later version that supports the various TIMESTAMP data types. If your ERD tool doesn't support a data type, other than talking to the vendor or working around the problem (i.e. generate DDL to a text file and edit it before applying it to the database), you're probably out of luck.
    Justin

  • How to add button on application tool bar of standard transaction

    Hi All,
    Can any one let me know how to ADD the button in on application tool bar of standard transaction by using SHD0 transaction or any other solution.While adding the button I don't want do any code modification.
    Thanks,
    Vijay

    HI
    SHD0 is used to create and maintain Screen and Transaction Variants..
    to know more about Screen and trransaction variants click on this link
    http://help.sap.com/saphelp_47x200/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
    we can create Transaction Variants Using SHD0 Transaction.
    Transaction Variants and Screen Variants
    Transaction variants can simplify transaction runs as they allow you to:
    Preassign values to fields
    Hide and change the 'ready for input' status of fields
    Hide and change table control column attributes
    Hide menu functions
    Hide entire screens
    In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
    Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
    There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
    A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
    In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
    No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions).

Maybe you are looking for

  • Automatic Creation of multiple Transportation Lanes

    Hi all. Is it possible to avoid following standard behaviour: Change of Supplying Plant in the Special Procurement Type If you have changed the supplying plant in the special procurement type in the ERP system, the SCM system creates a new transporta

  • Windows Backup Not Able to Recover Redirected Folders

    Hello, I have been doing a full system backup on a SBS 2011 using the Windows 2008R2 backup and the backups show complete. Today I went to look for a file in a redirected folder and the restore is blank. Apparently due to permissions. My questions ar

  • Invoice number field in Table BSEG..

    I have the accouting document no.I want to find out the invoice no.Which field in  BSEG table is invoice no.??

  • Basic document of Business Information Warehousing

    please search the forum, there are already a lot of information that kind. Hi, I am functional consultant, have worked on Retail software (other than SAP) for 1.5 years. Now i am working in SAP BIW. I want to build my conceptual skills with technical

  • What´s the parts worth?

    Hey guys, I have a macbook pro that recently broke down. It´s the next-to newest model, 5 yrs used, and now missing a functioning screen and also a hard-drive Any idea what the spare parts can be worth? I guess I can sell the battery and the powercor