Only one round trip to database from BizTalk per message irrespective of number of records in message per table.

I am creating biztalk application to store the data into sql server.
and my client says this line what i am not understood .
"Only one round trip to database from BizTalk per message irrespective of number of records in message per table."
Any one can help me to understand this line.!
Thanks,

One more option is -
Create a stored procedure to perform batch insert, you can insert into any number of tables you want.
--sample SP code...just added the steps you need to know to extract XML and perform insert
CREATE PROCEDURE <SPName>
@YourXML XML
AS
BEGIN
EXEC sp_xml_preparedocument @idoc OUTPUT, @youXML
SET @j = 1
            WHILE @j <= @recordCount
            BEGIN
                 SET @xpath = '//ns1:RootNode/Record[' + CAST(@j AS VARCHAR(11)) + ']'
                 ;WITH XMLNAMESPACES('record namespace' as ns0, 'rootnode namespace' as ns1)
     INSERT INTO YourTable
                  (field1, field2....field20)             
                  SELECT                                 
                        field1, field2....field20
                  FROM OPENXML(@idoc, @xpath, 2)
                        WITH(field1 varchar(2), field2 varchar(20)........field20 varchar(100))                        
                  SET @j = @j + 1
            END    
END
On BizTalk side its quite simple...generate schema for your stored procedure...and in your map transform your XML to StoredProcedure schema using CDATA.
Hope it helps!!

Similar Messages

  • Resolve 9 round-trip: How to break up a clip for different grades on one round-trip

    I am using FCP X-->Resolve 9 round-trip.
    I have one cam angle with several different closeups of different band members. The lighting is different so each close-up needs different grading. However, the shoot was continuous so there is only one clip from this cam. 
    I would like to export multiple segments of the clip to Resolve, for separate grading, and then export back to FCP X, all in one round-trip.
    I first tried blading the clip in FCP X into several segments, with blade cuts between the different closeups. Then I exported XML and imported into Resolve 9. Resolve ignored the blade cuts and only saw one clip, I assume because the different segments retain the same clip name.
    Can I somehow split this clip into multiple segments that Resolve will see a separate "clips" in the same Project, so I can grade each diferently and then send back in one round-trip?
    Or instead must I do multiple grades of the same clip in Resolve and multiple exports back to FCP X?
    There must be a simple way to do this with one round-trip.
    What is the best approach?

    When I look in the Info.plist file for the AppleUSBCDCDriver kext, which is what the driver should be for a USB modem, there are three driver personalities listed: DeviceClass = 2, DeviceProtocol = 0, DeviceSubClass = 0; DeviceClass = 2, DeviceProtocol = 0, DeviceSubClass = 2; DeviceClass = 2, DeviceProtocol = 1, DeviceSubClass = 2. When I look at the info for the Phone with USB Prober, the class, protocol and subclass are all 0 and it is assigned to the AppleUSBComposite driver which appears to be a default when it doesn't know what else to use.
    Does that information come from the phone or is it assigned by the Mac? I'm wondering if the Mac doesn't recognize the phone and is assigning default values, or if the phone is responding with the wrong values causing it not to be assigned to the right driver. Are there other USB utilities out there which could possibly configure the phone's USB port to identify itself correctly?

  • How to boot only one group in remote machine from master machine

    Hi,
    I want to know the command to boot entire remote machine from master machine and how to boot only one group for remote machine from master machine.
    Thanks
    Amit

    You can boot the entire remote machine (after booting the Master machine) as follows:
    tmboot -B <lmid of remote machine> -l <lmid of remote machine>.
    For all the available tmboot options see http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/rfcm/rfcmd.html#wp1032112
    Regards,
    Malcolm.

  • How to get number of records in all user tables in one select

    Please advise how to retrieve the number of records in all user tables in one select. I would likt to extract the data to excel file.
    Many thanks,
    Andrew

    You could always analyze the tables:
    declare
    begin
      for X in (select owner, table_name from all_tables
                 minus
                select owner, table_name from all_external_tables) LOOP
          dbms_stats.Gather_Table_Stats(X.Owner, X.Table_Name) ;
      end loop;
    end;
    /Then: Select Owner, Table_Name, Num_Rows from All_Tables ;

  • SCAN LISTENER runs from only one node at a time from /etc/hosts !

    Dear all ,
    Recently I have to configure RAC in oracle 11g(r2) in AIX 6.1 . Since in this moment it is not possible to configure DNS, so I dont use SCAN ip into the DNS/GNS, I just add the SCAN ip into the host file like :
    cat /etc/hosts
    SCAN 172.17.0.22
    Got the info from : http://www.freeoraclehelp.com/2011/12/scan-setup-for-oracle-11g-release211gr2.html#ORACLE11GR2RACINS
    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1-n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?
    Here is my listener file (which is in the GRID home location) configuration :
    Listener File OF NODE1 AND NODE 2:
    ==================================
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)
    ADR_BASE_LISTENER_SCAN1 = /U01/APP/ORACLE
    2)
    Another issue , when I give the command : " ifconfig -a " , then it shows the SCAN ip either node1 or node2 . suppose if the SCAN ip is in the node1 , and then if I run the "relocate" command from node2 , the ip goes to the Node 2 . is it a correct situation ? advice plz ... ...
    thx in advance .. ...
    Edited by: shipon_97 on Jan 10, 2012 7:22 AM
    Edited by: shipon_97 on Jan 10, 2012 7:31 AM

    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :If I am not wrong and after looking at the document you sent, you will be able to use only once scan in case you use /etc/host file and this will be up on only one node where you added this scan entry in /etc/hosts file.
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?Probably you can't in your case, you might run only one i think and on one node only
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1 -n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2You moved scan listener from node 1 to node 2, OK
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    --------------------------------------------------------------------------------Since you have only one scan, you can't relocate "2". So ise "1" instead here also
    FYI
    http://www.oracle.com/technetwork/database/clustering/overview/scan-129069.pdf
    Salman

  • Round trip export/import from Mac OSX iCal

    Since there isn't an iSync plug-in for Oracle Calendar (yet?) I thought I'd try a round-trip import/export between Oracle Calendar and Mac OSX iCal. Inconvenient, but it should would because the UIDs in the .ics file would be the same and an import would overlay over the existing entries.
    Wrong -- if I export an event from iCal, import it into Oracle Calendar, then export it again and look at the .ics file, the UID is different. Consequently, I get duplicate entries at the end of the round trip.
    What good is the "U"-Unique of UID if it isn't kept consistently? From the standard: "Implementations MUST be able to receive and persist values of at least 255 characters for this property."

    I've ran into an issue when exporting/importing a .csv file from OSX.And this "issue" is...?
    Exporting from? Importing to?
    APEX version?
    Database version?
    Database character set?
    Database host OS and version?
    EPG, OHS or OAS (and version)?
    DAD character set (if any)?
    OS X version?
    Some, none or all of the above may or not be relevant, but without more information to go on, all you are going to get are random guesses.
    http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    http://catb.org/~esr/faqs/smart-questions.html

  • Restricting the user to access only one view in or database

    A user wants to create a database link , so that he can view one of our views. We want to restrict permission, so that he can access only that view, and not any of our tables. What is the best way to proceed?
    Thanks in advance,
    Gayatri

    Pl do not post duplicate threads - Restricting the user to access only one view in or database

  • How to make only one round corner?

    HI,
    How can I make only one (or 2) round corner on a square using the round corner effect?

    You don't say what version you're using, but I know that in CS3 (and probably CS4), there is a script installed that you can use.
    Draw your frame. Open the Scripts panel. Open the subfolders "Application", then "Samples", then "Javascript". With your Frame selected, double-click the script in the list named "CornerEffects.jsx". You'll be presented with a list of options to control what type of corner; and at the bottom the pop-up menu controls which corners get that type of corner.
    (Names may vary somewhat for CS4.)

  • Why only one recent backup to restore from?

    I backup up my iPhone every day. In iTunes>Preferences>Devices, why do I only see today's backup and a backup from three months ago?

    Only one backup is kept by itunes(this backup is overwritten each time you sync), except for restore backups, which are not overwritten & are kept by time & date stamp. The reason you don't see any other backups listed is because you most likely have never restored your phone. If you performed a sync before you restored from backup, your backup was overwritten & that's why your info was not replaced.
    If you backup your computer, you can extract your backup from that computer backup, replace the one on your computer with this & restore from that backup. DO NOT SYNC before restoring from this backup. You will be given the option to create a backup before you restore, decline.

  • Importing only one copy of each photo from iPhoto?

    Hi all,
    I'm using Aperture 1.5.2, and I'm trying to import my pictures from iPhoto. However, for each image that I've edited with iPhoto I get a two-photo stack containing the original and the edited version. Is there any way I can import my photos so that in this case, only the edited version is imported?
    Thanks in advance for any pointers!
    MacBook Pro (Core 1 Duo)   Mac OS X (10.4.8)  

    hello, ben
    quote: "I'm using Aperture 1.5.2, and I'm trying to
    import my pictures from iPhoto. However, for each
    image that I've edited with iPhoto I get a two-photo
    stack containing the original and the edited
    version."
    http://docs.info.apple.com/article.html?artnum=302903
    That's a good solution. However, I have recently been through all my copies of images that I imported from iPhoto. I found that in some cases I was not happy with the result of the edited version, and others the edited version was fine, so I did not consistantly remove the same version of each image.

  • Add more than one entry into a database from single form

    I have a page that has 1 form that allows you to add 1 job.
    I want to be able to have a button or something that says add
    job and add another job.
    When creating the database I did not create a table to hold
    the order just add the job.
    I am attempting to create a new version of the site with
    order referencing job_id and customer_id so that a job can belong
    to an order. And I can an order that has many jobs.
    What is the best way I can do this and then I will need it to
    be displayed on the invoice.
    I also need to beable to create an invoice for the particular
    job.
    but that does not need to be done here.

    I have posted previously, but the requirement from my friend
    has changed somewhat.
    I have a add job page (add.php) and I need to add a
    button/link to add more fields of the same to add a job to the
    chosen customer.

  • How to avoid round trip to database

    i wanted to store all the data in dabase in the form of xml file at the first time.but at the next access i wanted to read the node rather than going to the database.how to acheive it

    Leave the node in memory. If this is a standalone GUI or console application, then simply maintain a reference in a cache somewhere to hold onto the data you parsed. If it is in a web application, you could store the result in a cache or in a user's session.
    - Saish

  • Am i the only one who cant recieve texts from non iphone 4 or 4s users?

    i've had issues recieving texts from ppl who dont have an iphone 4 or better. i have at&t and the two ppl i can text both have iphone 4. ppl have be get'n my text but i cant get their replys. Plz help!

    i have the exact same problem, got my iphone 4s on saturday and still won't let me send texts ._.

  • Since me and my mother moved from iChat to iMessage bêta, screen sharing works only one way. I can share my screen with her but not the reverse. When actually what I would like to do is share her screen. Video works fine both ways.

    Screensharing works only one way since we moved from iChat to iMessage bêta. Before that we have never had any problem with screen sharing. We haven't changed anything else, just installed iMessage. What I need to do is share her screen, and the only thing I can do is share my screen...
    Thanks for your help.

    HI,
    On the whole I am finding it very stable.  (it presents the same quirks in the same manner each time)
    It has some things that are more Feature requests than "Bugs" per se about the way it works that I would like to change.
    It can also be difficult to tell exactly what is going on whenyou are hearing about it third hand.
    Sounds like you have a plan.
    8:35 PM      Tuesday; March 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Locking a JSP Page i.e allowing only one user to access it at a time

    Hi,
    I have web application where multiple users can log in at the same time.
    I have a JSP where a user is presented with a list of executable items.It is quite possible that at the same time more that one user tries to execute the same item.I want to disable this. i.e at a time only one user should be able to execute the item.
    Currently what i can think of is putting an extra column in the database...saying that this item is locked and you cannot access it until unlocked.But then this would involve a round trip to database.I want to avoid it, and do some coding in java code itself.
    But i dont know how to proceed.
    Any Help......

    sorry for the misdirection :(
    yes..try using the synchronizing for the run process for of the item in the action class.
    I shall try to provide you with the code changes, if can you please provide the back end code doing the job u said

Maybe you are looking for