Update using updategram
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Update using updategram




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Update using updategram  
Chad


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-23-05 11:01 PM

I am using an updategram and sql adapter to do an update of multiple
tables (parent/child).  However I am having a problem with it inserting
instead of updating.  I need to somehow ensure that it is updating for
the existing id (which I have in my map -source schema).  I'm guessing
I need to use the updg:id value somehow but I am not finding any
examples of this using biztalk.  I know updates require <before> and
<after> tags, but I'm not sure how the updg:id ties into that.  I tried
mapping the source ID to updg:id in the before and after and that
didn't work.  Any experience with this.






[ Post a follow-up to this message ]



    Re: Update using updategram  
Matt Milner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-24-05 07:50 AM

In the before you need to have the values that would be used in a where
clause to update. For example, the ID for your table, but you don't need all
of the other columns. Then in the after you need the new data.  You
shouldn't need to use the updg:id attribute.

matt


"Chad" <chad.crosby@wise.com> wrote in message
news:1111608180.068047.184630@g14g2000cwa.googlegroups.com...
>I am using an updategram and sql adapter to do an update of multiple
> tables (parent/child).  However I am having a problem with it inserting
> instead of updating.  I need to somehow ensure that it is updating for
> the existing id (which I have in my map -source schema).  I'm guessing
> I need to use the updg:id value somehow but I am not finding any
> examples of this using biztalk.  I know updates require <before> and
> <after> tags, but I'm not sure how the updg:id ties into that.  I tried
> mapping the source ID to updg:id in the before and after and that
> didn't work.  Any experience with this.
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:26 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register