To clarify the previous post: if you need to check whether the database contains the appropriate data, you can use special database checkpoints to perform the comparison. Please refer to the "Database Checkpoints" help topic for details.
The tool includes sample projects that demonstrate how to create database checkpoints. The samples can be found here:
<TestComplete Samples>\Scripts\CheckpointsSamples\DatabaseTab leCheckpoints\