Talk About Network

Google





Software > Biz Talk Orchestration > Re: Dynamic que...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 4213 of 4234
Post > Topic >>

Re: Dynamic query in SQL Receive ****t

by =?Utf-8?B?TGFkaXNsYXYgTXJua2E=?= <LadislavMrnka@[EMAIL PROTECTED] Nov 5, 2008 at 12:48 AM

I am not sure if I fully understand your question.

In each instance of business process the query is called only once. So the

second call (= call in another instance of business process) will be 
processed in the same way. Data can be modified by another type of
business 
process which uses transactions. So result of the query is not necessarily

the same. Also as I wrote before, the query (where part of the query) is 
built dynamicaly based on few parameters of the stored procedure. 

"Paul Somers[MVP]" wrote:

> How do you manage the second call that would return the exact same
response 
> if you are not modifying any data?
> 
> 
> 
> "Ladislav Mrnka" <LadislavMrnka@[EMAIL PROTECTED]
> wrote in
message 
> news:0EA13184-ADC9-4966-BB55-B5EB4DA102AD@[EMAIL PROTECTED]
> > Hi Paul,
> >
> > I actually don't need to modify data. My stored procedure only build
some
> > dynamic SQL Query and runs it. It returns single record (the
aggregate) 
> > and I
> > used it in construction of complex response (data from other sources
are 
> > used
> > in result transformation). I guess running query (no data
modification) in
> > distributed transaction is overhead.
> >
> > Best regards,
> > Ladislav
> >
> > "Paul Somers[MVP]" wrote:
> >
> >> You should be using the transaction, it didn't used to be there, this
was
> >> added post 2004.
> >>
> >> There are many what if senarios when accessing sql and touching sql 
> >> database
> >> tables, that need the transaction if it goes wrong.
> >>
> >> It is always better to use a stored procedure, and do all of your
work in
> >> there for modifying the query.
> >>
> >> What is your requirement that you would like to NOT have the
transaction?
> >>
> >> Paul.
> >>
> >>
> >> "Ladislav Mrnka" <LadislavMrnka@[EMAIL PROTECTED]
> wrote in 
> >> message
> >> news:61232872-1453-4EC8-820A-0AACDAF972B5@[EMAIL PROTECTED]
> >> > Hello,
> >> > is it possible to use parametrized query in SQL Receive ****t? I'm
using
> >> > two
> >> > way SQL Send ****t to call stored procedure but I don't like the
idea of
> >> > running simple SQL Selects in distributed transaction (SQL adapter 
> >> > always
> >> > creates one when Send ****t is used) so I'm wondering if there is
any
> >> > workaround with Dynamic Receive ****t.
> >> >
> >> > Thanks in advance for response.
> >> >
> >> > Best regards,
> >> > Ladislav
> >>
> >>
> >> 
> 
> 
>
 




 5 Posts in Topic:
Dynamic query in SQL Receive Port
=?Utf-8?B?TGFkaXNsYXYgTXJ  2008-10-31 09:09:01 
Re: Dynamic query in SQL Receive Port
"Paul Somers[MVP]&qu  2008-11-03 08:56:36 
Re: Dynamic query in SQL Receive Port
=?Utf-8?B?TGFkaXNsYXYgTXJ  2008-11-03 12:56:04 
Re: Dynamic query in SQL Receive Port
"Paul Somers[MVP]&qu  2008-11-05 10:06:20 
Re: Dynamic query in SQL Receive Port
=?Utf-8?B?TGFkaXNsYXYgTXJ  2008-11-05 00:48:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 18:10:24 PST 2009.