How to install a sample database

Last modified: October 1, 2024

This topic describes how to install a sample database containing example tests.

To install a sample database

1. On the Database, select Unit Test > Install Sample Database.

Install Sample Database

2. In the Install Sample Database dialog that open, select the server to install the sample database on, specify the name of the database, and click Install.

3. After the successful installation, the sample database will be added to the list of databases in Database Explorer.

Install Sample Database

4. To see the list of example tests, in Database Explorer, navigate to the sample database, go to the Programmability folder, and then to Procedures.

5. To run an example test, right-click the test and select Unit Test > Run Test.

6. To run all tests, right-click the sample database (or the Programmability folder) and select Unit Test > Run All Tests.

You can also manage the example tests in the Test List Manager. For more information, see Viewing Test List.