![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
What would be the quickest way to create a backup and revert program on an sql (2000) database? - Can you create a transaction on a database, regardless of the connections and then rollback it all via an external program - Could you monitor the changes with profiler and then reverse those? - If desperate, could you backup the db from a tool and then restore it? (too slow to be practical?) Not sure how to do this so any offers would be appreciated |
#3
| |||
| |||
|
|
But the real question is what you really want to achieve and why you want to do it onSQL2000. This sounds like a perfect scenario for database snapshots, a new feature inSQL2005. |
#4
| |||
| |||
|
|
We run through a process to debug some problem, we then want to revert the database back to the state it was in so we can repeat that process to help in debugging. At the moment I can get around this by making a note of the tables involved and use deletes, inserts to get the data back to how I want it but it would be nice if I could just click 'backup' and and then later revert. If it was fast it could be a real help. |
![]() |
| Thread Tools | |
| Display Modes | |
| |