2008 Shanghai Maritime University mzyang@cie.shmtu.edu.cn
11-1
David M. Kroenke’s 10th Edition
Chapter Eleven:
Managing Databases with
SQL Server 2000
Database Processing:
Fundamentals, Design, and Implementation
2008 Shanghai Maritime University mzyang@cie.shmtu.edu.cn
11-2
Introduction
•
SQL Server 2000 can be installed on:
–
Windows 2000 and Windows XP workstations
–
Windows 2000 Server and Windows Server 2003
•
There are two ways to create database, to insert data,
and to modify its structure:
–
Use the GUI SQL Server Enterprise Manager
–
Write SQL statements and submit them to SQL Server via the
SQL Query Analyzer utility
•
Many SQL Server professionals choose to create
structures via SQL then modify them with the graphical
tools
2008 Shanghai Maritime University mzyang@cie.shmtu.edu.cn
11-3
View Ridge Gallery
•
View Ridge Gallery is a small art gallery that has
been in business for 30 years
•
It sells contemporary European and
North American fine art
•
View Ridge has one owner,
three salespeople, and two workers
•
View Ridge owns all of the art that it sells;
it holds no items on a consignment basis
2008 Shanghai Maritime University mzyang@cie.shmtu.edu.cn
11-4
Application Requirements
•
View Ridge application requirements:
–
Track customers and their artist interests
–
Record gallery's purchases
–
Record customers' art purchases
–
List the artists and works that have appeared
in the gallery
–
Report how fast an artist's works have sold
and at what margin
–
Show current inventory in a Web page
2008 Shanghai Maritime University mzyang@cie.shmtu.edu.cn
11-5
View Ridge Gallery Database Design