Chapter 12
How to use the Management Studio for database design
Exercises
- Use the Management Studio to create a new database called MyWebDB using the default settings. (If the database already exists, use the Management Studio to delete it and then recreate it.)
- Use the Management Studio to create the following tables and relationships.
- Define the UserID column in the Users table, the ProductsID column in the Products table, and the DownloadID column in the Downloads table as primary keys and identity columns.
- In the Downloads table, set the UserID and ProductID column as the foreign keys.
- Define the columns so none of them allow null values.
- Use the Management Studio to create indexes for the foreign keys in the Downloads table.
- Use the Management Studio to create a unique index on the EmailAddress and ProductName columns and a regular index on the DownloadDate column.
Note: Zip and upload screen capture for each step above. File named as Lesson12FirstnameLastname.



