Re: Executing Stored Procedure
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 General > Re: Executing Stored Procedure




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

    Re: Executing Stored Procedure  
Neal Walters


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


 
06-24-05 10:54 PM

If you need to run the SP at interval through-out the day and start an
orchestration each time, then I agree with McGeeky.  This would be a one-way
receive port.  Receive locations have polling intervals such as every 30
minutes or every 3 hours.

But just to add - you can call a stored procedure from an orchestration.
This would be a request/response send port.  So for instance, if something
else triggered your orchestration to run, and then you need to call the
stored proc, this could work too.

If you need precise control of when the stored proc runs, you could use SQL
agent to schedule a second stored procedure that writes a row to some table
that acts as a trigger mechanism. You could have a receive location that
polls this table every few minutes, and when it finds a new row, it could
start an orchestration that then calls your first stored proc.

Neal Walters
http://Biztalk-Training.com



"McGeeky" wrote:

> You can set a stored procedure to be run at regular intervals using a SQL
> receive port. The result set returned from the stored procedure is convert
ed
> in to a message.
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
> "Eric" <ericstott.dontspamme@hotmail.com> wrote in message
> news:%23Y8AjLEeFHA.2732@TK2MSFTNGP14.phx.gbl... 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:11 AM.      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