mutley1
MIS
- Jul 24, 2003
- 909
Hi all,
Here's the scenario - we have a live and dev environment and the dev is updated nightly from the live backup. The thing is the developers will create new stored procs etc. during the day and then the restore overnight replaces the entire DB from scratch thus wiping out what they have created. Does anyone know (apart from scripting out what they have done and re-loading the procs etc. MANUALLY) of a script I could run, maybe using create date or something to script out the changes and then reload them afterwards? I am really only talknig SP's being added here and I don't want to have to back up the dev env then do a comparison as a whole. Ideally it would just be "find out what was added today and script it out". Once I have those scripts I can easily create a new step to add them back in.
TIA for any help.
Cheers,
M.
Here's the scenario - we have a live and dev environment and the dev is updated nightly from the live backup. The thing is the developers will create new stored procs etc. during the day and then the restore overnight replaces the entire DB from scratch thus wiping out what they have created. Does anyone know (apart from scripting out what they have done and re-loading the procs etc. MANUALLY) of a script I could run, maybe using create date or something to script out the changes and then reload them afterwards? I am really only talknig SP's being added here and I don't want to have to back up the dev env then do a comparison as a whole. Ideally it would just be "find out what was added today and script it out". Once I have those scripts I can easily create a new step to add them back in.
TIA for any help.
Cheers,
M.