Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Microsoft C# Professional Projects - Premier Press.pdf
Скачиваний:
177
Добавлен:
24.05.2014
Размер:
14.65 Mб
Скачать

464 Project 4 CREATING AN AIRLINE RESERVATION PORTAL

Viewing the Database Schema

After you run all the preceding scripts, the database schema is ready. You can view the structure of database tables and their relationships in Enterprise Manager. To view the database schema, follow these steps:

1.Open SQL Ser ver Enterprise Manager.

2.Navigate to the SkyShark database.

3.Right-click on Diagrams in SkyShark and select New Database Diagram.The Create Database Diagram Wizard will appear.

4.In the Welcome screen of the wizard, click on Next. The Select Tables to be Added screen of the wizard will appear. This screen is shown in Figure 20-3.

5.Select all database tables that you created in the previous section and click on Next. The Completing the Create Database Diagram Wizard screen of the wizard will appear.

6.Click Finish to complete the wizard.

After you complete the task by using the wizard, the database schema appears.

FIGURE 20-3 The Select Tables to be Added screen