What are some ways you can reset a database back to its original state for testing purposes?
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
I'd backup the database in some "known good" state, then restore that backup as part of the test process. This would leave the database in a completely "clean" state that would be good for gamma testing. Note that this probably isn't a good solution for final (acceptance level) testing, since the database is too clean for a good "real world" test.
For More Information
- What do you think about this answer? E-mail the editors at editor@searchDatabase.com with your feedback.
- The Best Database Design Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your database design -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.
Dig Deeper on Oracle database design and architecture
Related Q&A from Pat Phelan
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.