Combine Multiple SQL's of Same transaction into single SQL Transaction

Hi All,
I have a requirement where I have multiple changes happen to Same row which need to combined into one SQL
For example
Extract
INSERT Row1
Update Row1
Update Row1
Update Row1
Commit
On Replicat
Insert Row1
Update Row1
Commit
Is it possible to combine these 3 updates into 1 Update?
Thanks,
Vijay

Hi Mackbell,
We are dealing with cross company replication and we have multiple scenarios where client should not know what are the additional columns we do have . We don't want to have definition files at target, client can add additional columns to their table and we don't care about those. Similarly we don't want to send multiple updates to client, when I update a column which I don't that transaction should not go to client. If I am able to combine 3 updates to one on three different columns on single commit we can send 1 update instead of 3, this will also be layer of security for us. they can see trail files what kind of updates we do and over the network I can minimize number of transactions
Thanks,
Vijay

Similar Messages

  • Combining multiple weights of the same font into one family

    I downloaded (legally) a font family, containing multiple weights. However, when I try to install it on Font Book, each weight comes out as a separate font.  Is there a way to combine all the weights into one font?

    Not without a font editor so you can give each font an identical family name.

  • How can I combine multiple deliveries of the same address to one shipment.

    Hello Friends,
    My client is sending multiple deliveires with multiple shipments to the same customer. His cost is increasingm therefore I am lookign to help him to combine all the deliveries to one shipment and one delivery.
    How can I combine multiple deliveries of the same address to one shipment.
    Please help me.
    Regards

    Of course, you can combine several deliveries into one shipment. You can set your own selection variant to select deliveries with the same ship-to party.
    You cannot combine several deliveries into one delivery. The combination of deliveres is possible only when creating deliveries in VL10*.
    Edited by: Harry Wu on Jun 21, 2010 4:30 AM

  • Is there a way to combine multiple files that were scanned individually into one?*

    Is there a way to combine multiple files that were scanned individually into one?*

    Assuming the scans are all PDFs, here is one easy way:
    Open the first PDF in Preview.
    Duplicate (File > Duplicate) if you want to preserve the original.
    Choose View > Contact Sheet.
    Drag and drop the other files from the Finder into the Contact Sheet window. You can select the files one at a time or multiple files at once.
    Arrange the contact sheet icons in the desired order.
    Save.

  • How can I combine multiple variations of the same library?

    While I have become accustomed to the new Library format/function there are still things that boggle my mind.  Case in point is that I now somehow have multiple versions of the same event showing up although I didn't create them.  And there is also a combination of 2 separate events that I just don't understand.  My current main concern/question is how to combine the duplicitous events?:
    At the top you'll see "Perlick" as the Library and "Beer Cooler" as the Event.  Then down below there is the "Perlick 20140502_1515_CDT".  When I opened the media drive that contains the Perlick event I found a total of 3 "extra" libraries with various long titles as the one just listed.  So, my question is can I somehow combine all of this into one, all-inclusive Library and if so, how?
    Thanks in advance...

    Hello There,
    Try and use tcode VT01N.
    Provide the collective shipment there
    and then click on deliveries & select multiple deliveries there.
    Hope it can assist you
    Thanks & Regards
    JP

  • Can I combine multiple threads from the same contact in iMessage?

    iMessage displays multiple threads for the same contact.  Its very confusing and has resulted in lost messages.  I've tried changing a number of settings but to no avail.  Seems to require everyone in my contact list to eliminate all their email addresses in iMessage.
    Begs the question why does iMessage even need this information?  Worse, why does it suck it into its settings by default.  The directory server should only require a valid Apple ID (associated with the users' devices)  in order to direct an iMessage between two contacts.

    Thanks for the reply, appreciate your input.  I did find another way of doing it and that is to highlight the first e-mail, hold down the shift key and click on the last one.  That highlights them all and then they can all be deleted.  Your ideas also work of course and I thank you for that.  Cheers.

  • Merge multiple rows of same ID into Single row

    Hi All,
    I need the requirements of merging multiple rows of same ID as single row.
    My Table Data:
    ID     Language1 Language2 Language3 Language4
    1001 NULL         JAPANESE  NULL          NULL
    1001 SPANISH   NULL          NULL          NULL
    1001 NULL        NULL           NULL         ENGLISH
    1001 NULL        NULL           RUSSIAN    NULL
    Required Output Should be,
    ID     Language1 Language2 Language3 Language4
    1001 SPANISH    JAPANESE  RUSSIAN   ENGLISH
    Please help me to achieve this output.
    Tried grouping but its not working also producing the same result.
    Thanks.
    Live freee....Joy forever................ :)

    Try the below:
    create Table Test_Sample(ID int,Language1 varchar(50), Language2 varchar(50), Language3 varchar(50), Language4 varchar(50))
    Insert into Test_SAmple Values(1001,NULL,'JAPANESE', NULL, NULL),
    (1001,'SPANISH', NULL, NULL, NULL),
    (1001,NULL, NULL, NULL, 'ENGLISH'),
    (1001,NULL, NULL, 'RUSSIAN', NULL)
    Select ID,MAX(Language1),MAX(Language2),MAX(Language3),MAX(Language4)
    From Test_Sample
    Group by ID
    Drop table Test_Sample

  • Version 4 Bug - Multiple Object Editors of Same Object on Single Click

    Hi Jeff,
    thanks for your reply. You have missed that rule because you don't use SQL Developer for development. But never mind, lets go through it...
    1) Of course I have both options activated (all preferences were imported from previous version). The difference between previous version is that when you click on the SAME table multiple times - in the old version, it opened the table just once and in case you had another tab active, it swithed to the tab where the table was opened. So to have it clear, in the old version when you have table A and table B, both opened in separate tab and the focus was on table B, when you clicked on table A (in the tree) it activated tab with table A. It didn't create new tab with table A. Of course - why would I want to have multiple tabs opened with the same table??? In current version clicking on the same table multiple times, opens multiple tabs with the same table.
    This is also the reason why it sometimes openes a table multiple times even when you click it just once. This you cannot simulate because you are probably connecting to some local DB when you have perfect connection. Activate the autopin function and connect to different DBs all over the world and you will see what I mean. Right now, I have opened a connection and got 3 tabs opened, just after a single click on a table.
    2) Fetch size is again taken from previous version of SQL Developer and is set to 50. PgUp and PgDown are not working at all. I am talking about scrolling with a mouse wheel. In the old version it is working normally as expected. In this version if you scroll using a mouse wheel, the scroll speed is about 1 or even 0.5 lines per wheel round - so you can even not use a mouse wheel for scrolling! On all other places in this new release (connection tree, packages, ...) the scrolling is working normally, in the table it is unusable.
    3) I don't say it is on every table and every click. I cannot tell you how often is it because I am not using the new version. I am quite sure this is dependent on the connection speed maybe connectin quality. The difference between previous version is that in the previous version, refresh always worked. This particular issue cannot be solved by testing and searching for some rule when it happens. You must check the code and see when you display it!
    4) My screen resolution is 1920x1200, but that is only because I have an external monitor connected to my laptop. My laptop resolution is only 1366x768. Switch to this resolution and open the View menu.
    New worksheet - yes, this is exactly what I mean. I have planty of connections, for sure over 100 - but this is irelevant. Whenever you do a menu which can grow, you need to do it scrollable!!!
    I am not sure what you mean by Flyout menus, but I am scared only to hear about it

    Screen resolution, no scrolling on menus - that's a bug. Severity 2, a bad one, as you have noticed, and we'll try to make sure it's addressed for version 4.0.
    The other issue isn't as straightforward as you insinuate. I know you don't care about the particulars or why you might see this issue, so I won't bore you. But, we are aware that this is still coming up more frequently that it should, and we're on a big bug hunt to eradicate the behavior completely. It's not a simple thing, so it will more likely be incremental improvements. That being said, we are seeing it MUCH less than in previous versions of the tool.

  • Want to combine  the data different coloumn of table into single coloumn.

    HI All ,
    Requirement : I want to create an application which will display  diffrent coloumn(data) of a table into single coloumn  in web-dynpro abap .
    For ex:
    Table : employee
    coloumn : PERSON , PAYMENT , STATUS ,  SUBMISSION .
    RETURN  = PAYMENT + STATUS + SUBMISSION
    (return coloumn will contain the data of other coloumn )
    Thanks in advance .
    Rahul

    In your context, create a node 'Employee'. It should have the attributes person, payment, status, submission, return. Let return be of type string. I assume you have a ztable or some ddic structure employee, which does not have the return field.
    You code will be on these lines - change it to your requirements anyway. Place the code in a method depending on your requirement of when the data should be displayed.
    data: node_emp type ref to if_wd_context_node,
            itab_emp type table of employee,
            wa_emp  type employee,
            itab_node_emp type if_main=>elements_employee,
            wa_node_emp type if_main=>element_employee.
    node_emp = wd_context->get_child_node( name = 'EMPLOYEE' ).
    <i>* Get data from your API here into itab_emp *</i>
    loop at itab_emp into wa_emp.
      move-corresponding wa_emp to wa_node_emp.
      concatenate wa_emp-payment wa_emp-status wa_emp-submission separated by space into wa_node_emp-return.
      append wa_node_emp to itab_node_emp.
    endloop.
    node_emp->bind_elements( itab_node_emp ).
    Here, before the loop, you need to fetch the data into itab_emp using your APIs. Since you have said you want to display the data of multiple columns as is, I have just concatenated them.
    In your view layout, have a table and bind the data source to be the context node Employee.
    <b>The data types of itab_node_emp, wa_node_emp will differ based on your view name and node name. Use the code wizard to generate your code according to your design time.</b>
    Hope this helps.
    Regards,
    Nithya

  • What's the proper workflow to combine multiple video types and turn them into one high quality DVD?

    I'm trying to combine 1080i (29.97fps), 1080p (29.97fps), and 720p (24fps) video files into a single Premiere Pro project, and end up with a high quality DVD.
    There are a few problems I can't solve:
    1. There seems to be interlacing and clarity issues any time I export it to DVD dimensions (720x480), and on some TVs I'll get a bouncing motion on the 720p footage (slideshow). Yet everything seems to look perfect when I export it something like an HD MOV file.
    2. If I use Final Cut X to make the DVD, I'll get audio popping and decent image quality. Yet if I use Encore, I'll get horrible interlacing, but good audio.
    I don't have any training in video workflow let alone how to properly diagnose and solve problems that arise. So I need someone to lay out the proper workflow and settings from start to finish to get these three different types of footage to look great on a DVD using Premiere/Encore.
    I've attached sample images showing the types of footage I'm using and the kind of problems I'm running into for reference.

    By far the best way to get the quality of encoding is to use Compressor and not DVDSP. You can set Compressor up to do the AC3 (which DVDSP can't do). Alternatively, use a better encoder than Compressor, such as BitVice or MegaPEG.X... but remember that these do not do AC3 encoding.
    Keep the encoded assets all in a single folder on your mac, then drag that folder into the DVDSP 'Assets' tab. This will import them all and keep them in the folder, which is a neater way of doing things. Select all of the clips within the folder (or simply select the folder itself) and drag them on to the track - they will go on in alphabetic or numeric order (whichever you have used as your names). If using numbers, remember to use '01', '02', etc otherwise clip ten, eleven, twelve and so on will follow clip one... clip two will come after clip 19.
    Drop them all on a single track. You can then point a menu button at the track and all of the clips will play one after the other. If you want black in between then you will be better adding this in a NLE such as Final Cut, then exporting the entire sequence of clips as a single file. Alternatively, create a black .pict file the correct dimensions for the video format you are using and manually add it in between each clip on the timeline. Or, create a series of black .pict files and name them 011, 021, 031 and so on. Place them in your folder of clips with the MPEGs named 01, 02 and so on. When you select all and drop it onto your timeline within DVDSP a black clip will go in between each piece of footage (sequence will be 01, 011, 02, 021, 03, 031 ). This is probably the quickest way to do it. You can reuse the same black .pict files for every project like this and as long as you follow the same naming convention it will always work.
    Like anything you want to automate, the first couple of times take longer to set up. After that it is a lot easier.

  • Problems with multiple connections in the same transaction

    Hi all !
              I'm have two questions regarding the way weblogic handles multiple
              connections.
              1) first, I don't understand why weblogic always create a new Managed
              Connection when I'm asking for 2 connection handles on the same connection
              factory and with the same connectionRequestInfo. Isn't it supposed to share
              connections ?
              For instance, the following snippet of code results in the creation of 2
              managed connections:
              ConnHandle conn1 = myCF.getConnection(myRequInfo);
              ConnHandle conn2 = myCF.getConnection(myRequInfo);
              The class corresponding to myRequInfo does implement the equals and hash
              method, so that weblogic's connection manager could use them to check that
              the queried connections are the same, and thus could share a single
              ManagedConnection between multiple connection handles. Apparantly it does
              not do that...
              2) OK, I just let weblogic create the 2 managed connections, but... My use
              of the connections is as part of a transaction. Here is what happens:
              ConnHandle conn1 = myCF.getConnection(myRequInfo);
              // a new managedConn1 is instanciated. the following happens (just a
              description)
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS)
              // I use the conn1 handle
              conn1.close();
              //xar1.end(SUSPEND)
              ConnHandle conn2 = myCF.getConnection(myRequiInfo);
              // a new managed connection managedConn2 is instanciated.
              // xar2 = managedConn2.getXAResource();
              // xar2.start(RESUME)
              // I use conn2 handle
              conn2.close();
              // xar2.end(SUSPEND);
              // my bean returns from the remote invocation
              // the client of the bean asks to commit (using UerTransaction.commit on the
              client side)
              // xar2.end(SUCCESS)
              // xar2.commit(onePhase=true);
              // managedConn2.cleanup();
              And that's all. So, as one can see, managedConn1.cleanup was never called.
              When looking in the weblogic console, I can see that I have one connection
              with 0 handle and one with 1 handle, deemed as still being in a transaction.
              So, the conenction manager apparantly loses a managed connection during the
              transaction. And it's very very bad because after a couple of transactions,
              I'm running out of managed connections (I had set a limit of 10).
              Any one has seen such a weird behavior ? Is this a problem on my side, or
              weblogic's ? Thanks for your help.
              Sylvain
              

              I ran another test. This time I have a bean that makes use of a connector
              once per method invocation. The bean method invoked is "sayHello" and it
              gets a connection to the EIS, perform an operation on it and release it. The
              connector I developed uses XA transactions.
              My test client just calls 3 times myBean.sayHello().
              I can distinguish two cases:
              1) first, the client doesn't do transaction demarcation. In this case, since
              the sayHello method is marked as requiring transaction, the folowing happens
              in the bean:
              // **** first invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn1 is instanciated
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar1.end(SUCCESS);
              // the bean returns from its invocation
              // xar1.commit(onePhase=true)
              // managedConn1.cleanup()
              // **** second invocation of the bean
              connHandle = myCF.getConnection();
              // managedConnectionFactory.matchManagedConnection is called. It returns the
              managed connection (managedConn1) that is in the passed set
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close
              // xar1.end(SUCCESS);
              // the bean returns from its invocation
              // xar1.commit(onePhase=true)
              // managedConn1.cleanup()
              // **** third invocation of the bean
              connHandle = myCF.getConnection();
              // managedConnectionFactory.matchManagedConnection is called. It returns the
              managed connection (managedConn1) that is in the passed set
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close
              // xar1.end(SUCCESS);
              // the bean returns from its invocation
              // xar1.commit(onePhase=true)
              // managedConn1.cleanup()
              2) second case : the client performs transaction demarcation. In that case,
              the connection manager instanciates 3 managed connections, calls start/end
              on each XAResource corresponding to each managed connection, calls commit
              once, but also calls cleanup only once, leaving 2 lost managed connections
              The client looks like this:
              UserTransaction utx = context.lookup("javax/transaction/UserTransaction");
              utx.begin();
              MyBean myBean = ctx.lookup(".......");
              myBean.sayHello();
              myBean.sayHello();
              myBean.sayHello();
              utx.commit();
              on the server the following happens:
              // **** first invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn1 is instanciated
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar1.end(SUSPEND);
              // the bean returns from its invocation
              // **** second invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn2 is instanciated
              // xar2 = managedConn2.getXAResource()
              // xar1.isSameRM(xar2) is called. returns true
              // xar2.start(RESUME);
              // managedConn2.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar2.end(SUSPEND);
              // the bean returns from its invocation
              // **** third invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn3 is instanciated
              // xar3 = managedConn3.getXAResource()
              // xar2.isSameRM(xar3) is called. returns true
              // xar3.start(RESUME);
              // managedConn3.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar3.end(SUSPEND);
              // the bean returns from its invocation
              // the client invokes commit on the UserTransaction
              // xar3.end(SUCCESS);
              // xar3.commit(onephase = true);
              // managedConn3.cleanup();
              And so, managedConn1 and managedConn2 got lost in the way...
              What's more puzzling, it's that when monitoring my connector with the
              console, I can see that there are 3 connections. 2 declared as still having
              one handle used and being in transaction, and one not in transaction and
              with 0 active handle. BUT when monitoring the JTA part of the server, I can
              see that there has been 1 transaction that committed, and no connection is
              "in flight" as the console says. So, on one side the console says 2 managed
              connections are still part of a transaction while on the other it says that
              no transactions are currently in flight.
              Thanks for any kind of help on this very bizarre behavior.
              Sylvain
              

  • How can I map multiple sourcelines of the same position into 1 targetline?

    Hi all,
    I have a mapping problem in XI. I have no idea how to do the following mapping in the IR. My inputfile contains of 1 headerline and mulitple positions, and it has got multiple lines per position (with different data in it). The targetfile has got 1 headerline and multiple positionslines in which I have to "merge" the data from mulitple source-positionlines. It looks like this:
    source structure:
    headerdata
    position1 part1 (posnr, article number, quantity, articletype,...)
    position1 part2 (posnr, article price, payment conditions,...)
    position1 part3 (posnr, route,...)
    position2 part1
    etc
    target-structure:
    headerdata
    position1 (posnr, articlenr, quantity, articletype,price, payment conditions, route)
    position2 (same)
    position3 (same)
    etc
    Now I have to map part1,2 and 3 of the source structure to the 1 and the same target-line. I guess I would need some kind of lookup of the positionnumber in my message-mapping. But how do I do this? Copying the targetline 3 times is not an option as the target-utility only accepts the structure as described above....
    Hope anybody van help
    Thanks,
    William

    Hi,
    U can do it with UDF but it is more simpler with normal graphical mapping refer the following steps.
    1) To map header node for your example (position1) refer the following steps,
    posnr --> RemoveContext --> sort --> splitByValue(valueChange) --> CollapseContext --> position1
    2) for posnr in target side also u can use same mapping with some change  i.e.
    posnr --> RemoveContext --> sort --> splitByValue(valueChange) --> CollapseContext > splitByValue(EachValue)>posnr.
    3) For other node like articlenr, quantity, articletype,price, payment conditions, route refer the following mapping.
    1st do this.
    posnr --> RemoveContext --> sort --> splitByValue(valueChange) --> CollapseContext --> splitByValue(EachValue).
    then take IfWithOutElse function give 1st input as output of CollapseContext
    2nd input is value like articlenr, quantity, articletype,price, payment conditions or route(one of it) --> FormatByExample(using posnr --> RemoveContext --> sort --> splitByValue(valueChange)) node
    Output of IfWithOutElse give to  splitByValue(EachValue)
    Then give it to Target field.
    Regards,
    Rohit.
    reward points if helpful

  • How do I combine two versions of the same album into 1

    I have songs from the same album on 2 albums in my library. How do I combine them?

    Select all the songs from the album, choose File--> Get Info, then under the Album area, type in the appropriate album title.  They should all appear under one album at that point.

  • Payment Order (multiple) Idocs need to be downloaded into single file

    Hello Gurus,
    I am able to generate Idocs for Automatic Payment Run in F110 for message type PAYEXT with PEXR2002 idoc type.  However, what I found is the system generates one idoc per vendor for a single payment method. So, for example if I run APP for 50 vendors at a time, 50 different idocs are generated and placed in AL11.  Currently the requirement is to download the idocs into flat file and upload it in Bank's website. I would like to know is there any way to download all the 50 idocs into a single file (ie a single file containing payment run information for all vendors).
    PS: I use CG3Y Tcode to dowload Idoc from AL11 mentioning the directory path but this can allow me to download only one file at a time.
    Any Info regarding this would be appreciated.
    Thanks in advance,
    -Naryanaan-

    Hi
    I'm facing the same problem . Were you able to solve this by heavy customization.
    best Wishes

  • Linking multiple accounts of the same resource with single identity of SIM

    Hi,
    Iam trying to link multiple resource accounts of the user with a single identity manager account. I'm able to achieve this using the 'resource type' also by doing a reconcile based on e-mail(which is same for resource account and IDM account), but i'm unable to link them using 'load from file' or 'Bulk upload'
    I have tried in the following way
    command,user,accountsLDAP.identity,accountsLDAP.identity
    Update,134088230,"cn=134080,OU=people,dc=xxxx,dc=com","cn=134081,OU=people,dc=xxxx,dc=com"
    Can any one help me in this regard

    This is probably a bug or for some crazy reason intended to work this way. I have a similar issue, only difference being my resource is Sun Access Manager instead of LDAP. When I ran my code through Netbeans Debugger I saw that the resource account Fields that holds the value for resource account attributes, simply vanishes during a particular step of form processing. The only workaround I have at this point is to make those attributes as global.<attributeName> instead of accounts[<ResourceName>|<accountType>].<attributeName>
    If anyone can get to bottom of this please post here. I'm going to raise a Support Ticket with Sun.
    - AndyDev

Maybe you are looking for