|
jun0
Starting Member
United Kingdom
24 Posts |
Posted - 03/08/2013 : 06:04:49
|
Hi, I need to set up some automated transactions in SQL server, and am unsure of how to go about doing what I need to, but I will explain the basis of it here, and hoepfully someone can explain how I would get the system I want put in place....
Basically, I have data that is imported into a database from quite a few other databases at a set time every day, I need to set something up (some kind of trigger or something) that will execute a query (probably need to make this a stored procedure) once all of the data has finished importing (the time it takes to import the data will vary daily, so i'm not sure how the 'trigger' would be aware when an import has finished), once the first query has finished funning after the import, then this needs to trigger a second query, and the second query then triggers a third before all the data has been processed. The whole system kicks off again at the next import...
How can I get this set up, I'm guessing its a mixture of 'triggers' (not sure if thats the right word) and stored procedures, maybe 'jobs'?
Any info/input would be great, thanks guys |
|