Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Need to run stored procs across many db's, async

Author  Topic 

rudesyle
Posting Yak Master

110 Posts

Posted - 2010-02-17 : 09:42:43
Hi Guys,

We have a main job server , that runs a job once a night and executes the same stored proc which is located on 200 client dbs. The problem is that these currently run in a loop, meaning, they are run synchronously.

Is there a way to fire them off asynchronously? The best way I can find so far is to use service broker where each db has a queue with an activation stored proc.

Thanks

Kristen
Test

22859 Posts

Posted - 2010-02-17 : 09:55:03
You could create Jobs (i.e. in SQL Agent) for each one (programmatically) with the job set to "run once"
Go to Top of Page
   

- Advertisement -