You can use database checkpoints in your test to check databases accessed by your Web site or application, and to detect defects. To do this, you define a query on your database. Then you create a database checkpoint that checks the results of the query.