bt0060

2
August 2009 Bachelor of Science in Information Technology (BScIT) – Semester 6 BT0060 – Database Concept with Oracle – 4 Credits (Book ID: B0894) Assignment Set – 1 (40 Marks) Answer all questions 4 x 10 = 40 1. Compare SQL and PL/SQL. 2. Write a database trigger to implement the following check condition: Given the following table: Empno Empname Joini ng Date Every time the user enters the employee number in the above table, it should check that it is always >1 and <200. 3. Differentiate between shared pool and large pool of Oracle memory component. 4. Write about the following Oracle 9i objects: Logical Storage Structures Database Blocks Physical Storage Structures

Upload: salimkottayil

Post on 23-Nov-2014

196 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BT0060

August 2009Bachelor of Science in Information Technology (BScIT) – Semester 6

BT0060 – Database Concept with Oracle – 4 Credits (Book ID: B0894)

Assignment Set – 1 (40 Marks)

Answer all questions 4 x 10 = 40 1. Compare SQL and PL/SQL.

2. Write a database trigger to implement the following check condition: Given the following table:

Empno Empname Joining Date

Every time the user enters the employee number in the above table, it should check that it is always >1 and <200.

3. Differentiate between shared pool and large pool of Oracle memory component.

4. Write about the following Oracle 9i objects: Logical Storage Structures Database Blocks Physical Storage Structures

Page 2: BT0060

August 2009Bachelor of Science in Information Technology (BScIT) – Semester 6

BT0060 – Database Concept with Oracle – 4 Credits (Book ID: B0894)

Assignment Set – 2 (40 Marks)

Answer all questions 4 x 10 = 40

1. Explain about the various iterative control statements in PL / SQL with the help of suitable examples for each.

2. Write a PL/SQL function for finding factorial of a given number.

3. Discuss the following types of Data Fragmentation Mechanisms: Horizontal Data Fragmentation Derived Horizontal Fragmentation Vertical Fragmentation Mixed Fragmentation

4. How do you map the system table space with memory of database?