Click here to Skip to main content
15,888,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
How can I exec a stored procedure within trigger on different session/thread. I don't want the update or insert to wait for the stored procedure to finish ?

Thanks
Posted
Comments
[no name] 10-Dec-14 9:15am    
bump to the top
Jörgen Andersson 10-Dec-14 9:57am    
Next time you should state what database and version of it you are using. It matter a lot.

1 solution

I assume that what you actually want/need is to run procedures asynchronously.
If you're using SQL Server, there is an article here[^] on how to do that.
 
Share this answer
 
Comments
[no name] 11-Dec-14 1:28am    
Thanks, Ill go read this article

btw im runnig SQL Server 2008 R2 Service Pack 3 (SP3)
[no name] 11-Dec-14 8:08am    
Thanks this will have to do, I re scripted it to come to my needs
Jörgen Andersson 11-Dec-14 8:43am    
Glad it works

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900