You are on page 1of 1

Saigon Institute for Techniques and Technology

FINAL PRACTICAL EXAM


Implementing a Microsoft SQL Server 2008 R2 Database (COURSE 6232B)
LAB:
Candidate data: Class / Group Instructor Proctor name/signs Student name _______ / ___ (Group 2 students) Trn Thnh Tr Exam information Exam date Start/Duration Attempt Score 17 / 5 / 2012
60 MINUTES

1st: , 2nd: ______ / 100

Implementing a Microsoft SQL Server 2008 R2 Database:

1. Use Saigonctt database, design and create two tables:


Table: StudentList Code 001 002 003 004 Table: UpdateList Full name

Full name nguyenvananh tranduykhoi dangducninh vuongquoctrung

Year of birth 1980 1981 1982 1988

Score 6 5 7 4

Update time

Score

2. Create a View from StudentList table, allow to view Full name and Score columns,
where Score > 5.

3. Create a Stored Procedure, convert from year of birth to age (StudentList table). 4. Create a User Defined Function, allow to view Full name and Score columns, where
Score is greater than a variable number.

5. Create After Trigger that execute when StudentList table is updated, and inserts a
row into UpdateList table.

Page 1 of 1

You might also like