Advance Database Concepts
Advance Database Concepts
Advance Database Concepts
Course Title: Course Code: Total Course Hours: Prerequisites/Co-requisites: Eligible for Prior Learning Assessment and Recognition: Originated by: Revised by: Date: Effective Semester: Approved by:
Yes John A.H. Bailey Ilia Nika September 2009 Fall 2010
________________________________________ Chairperson/Dean
Students are expected to know the contents of the course outline and to discuss with the professor any areas where clarification is required. Students should keep all course outlines for each course taken at Centennial College. These may be used to apply for transfer of credit to other educational institutions. A fee may be charged for additional or replacement copies.
CENTENNIAL COLLEGE
COMP214
Course Description
This course is intended to expand students knowledge of business database systems. The course starts with introducing students to the steps required to install an Oracle 10g database and developer system. Then, it expands on the students knowledge of SQL by introducing more complex syntax than that covered in the first database course, as well introducing Oracle Form Builder and Report Builder utilities to create applications. Topics covered include SQL functions to manipulate numbers, dates, and character strings, grouping, conversion and transformation functions, advanced queries, advanced data and table manipulation commands, basic oracle security, PL/SQL triggers, functions, procedures, and packages, an introduction to Oracle Form Builder, and an introduction to Oracle report builder.
CENTENNIAL COLLEGE
COMP214
Weight /100
25 15
25
35
Two criteria are used to determine whether a student has achieved a passing grade in this course: a) An overall 50% grade based on the grading scheme above, and b) A 50% grade in the test/exam component of the course.
In consultation with the Chair or Dean, a faculty member or instructor may administer additional or alternative evaluations to fully assess the capability of a student. When writing a test or examination, students must put their official photo-ID cards in full view for review by the invigilator. Students who do not have official photo-ID will be permitted to write the examination with a substitute photo-ID, but they will be required to produce photo-ID at the program or department office within 24 hours or the next business day following the examination, or else the examination results will be void.
CENTENNIAL COLLEGE
COMP214
Student Accommodation:
All students have the right to study in an environment that is free from discrimination and/or harassment. It is College Policy to provide accommodation based on grounds defined in the Ontario Human Rights Code. Accommodation may include changes or modifications to standard practices. This document is available in alternative formats upon request. Please contact the originating department or school of study. Students with disabilities who require academic accommodations must register with the Centre for Student with Disabilities. Please see the Centre for Students with Disabilities for details. Students requiring accommodation based on human rights grounds should talk with their professors as early as possible. Details are available on the Centennial College website (www.centennialcollege.ca ). If students are unable to write an examination due to a medical problem or unforeseen family problems, they should immediately contact their professor or program Chair for advice. In exceptional and well documented circumstances (e.g. unexpected family problems, serious illness, or death of a close family member), students should be able to write a make-up examination to replace an examination missed.
Use of Dictionaries
Dictionaries may be used in tests and examinations, or in portions of tests and examinations, as long as they are non-electronic (not capable of storing information) and hard copy (reviewed by the invigilator to ensure notes are not incorporated that would affect test or examination integrity);
CENTENNIAL COLLEGE
COMP214
Academic Honesty Academic honesty is integral to the learning process and a necessary ingredient of academic integrity. Students have a responsibility to be aware of and comply with standards of academic conduct. Academic dishonesty includes cheating, plagiarism, and impersonation. All of these occur when the work of others is presented by a student as their own and/or without citing sources of information. Breaches of academic honesty will be investigated and if warranted appropriate remedies and penalties will be applied, which may include a failing grade on the assignment/course, suspension or expulsion from the college. Grades Appeal Students and faculty have rights and responsibilities in the Grades Appeal process. Students who need to appeal a grade should consult the Grades Appeal policy and procedures. Progression and Academic Standing Students are expected to meet the academic standards of their School or program. The academic standing of each Centennial student is monitored during as well as at the end of each semester. Any student not demonstrating satisfactory progress will be informed of his/her standing in the College and will receive academic advising within their School. Unsatisfactory academic performance may result in conditional academic standing, probation or suspension.
Faculty Support
Professors are available to see students outside of class time. Students can contact professors via voice mail, email, or through their program or department office. Information regarding how to contact teachers will be provided at the beginning of the course and is also available in the program or department office.
Campus Safety
Students must produce official photo identification at any time during the semester when requested to do so by any college staff.
CENTENNIAL COLLEGE
COMP214
Topical Outline
WEEK
1
TOPICS
Introduction to course: Distribution and explanation of course outline Assignment of user IDs and test of logons Quick refresher on SQL*Plus environment Outline of term project Demonstration of how to install Oracle 10g with a sample database including network configuration and default accounts Functions for manipulating character strings
READINGS/ MATERIALS
Course Outline
INSTRUCTIONAL STRATEGIES
Review of course outline, and hands-on demonstration of SQL*Plus environment.
COURSE EVALUATIONS
Handouts
Students will be able to install and configure both the database and the client environment using Oracle Universal Installer.
Chapter 7
Chapter 9
Students will be able to write SQL commands to: Manipulate, cut, and paste character strings such as CONCATENATE, RPAD, LPAD, RTRIM, LTRIM, TRIM, LOWER, UPPER, INITCAP, LENGTH, SUBSTR, and INSTR Manipulate numbers using single-value, aggregate, and list functions such as ABS(), ROUND(), AVG(), LEAST(), etc., and mathematical considerations such as NULL values, addition, subtraction, multiplication, division, etc.
CENTENNIAL COLLEGE
Lecture on chapter 7 contents and syntax in lecture periods, and practice exercises in lab class.
Lecture on chapter 9 contents and syntax in lecture periods, and practice exercises in lab class.
CENTENNIAL COLLEGE
COMP214
WEEK
3
TOPICS
Functions for manipulating dates
READINGS/ MATERIALS
Chapter 10
INSTRUCTIONAL STRATEGIES
Lecture on chapter 10 contents and syntax in lecture periods, and practice exercises in lab class.
COURSE EVALUATIONS
Quiz #1 on Chapters 7 and 9. Assignment #1 covering Chapters 7 and 9.
Chapter 11
Lecture on chapter 11 contents and syntax in lecture periods, and practice exercises in lab class.
Grouping Functions
Chapter 12
Lecture on chapter 12 contents and syntax in lecture periods, and practice exercises in lab class. Lecture on chapter 13 contents and syntax in lecture periods, and practice exercises in lab class.
Advanced Queries
Chapter 13
Chapter 15
Students will be able to write: Advanced queries using correlated subqueries, EXISTS, inner and outer joins, and relational set operators such as UNION, INTERSECT, and MINUS. Students will be able to write complex SQL statements to add, delete, or modify table data such as insert with select, update with embedded select, update with null, etc.
Lecture on chapter 15 contents and syntax in lecture periods, and practice exercises in lab class.
CENTENNIAL COLLEGE
COMP214
WEEK
6
TOPICS
Advanced Table Manipulation Commands
READINGS/ MATERIALS
Chapter 17
INSTRUCTIONAL STRATEGIES
Lecture on chapter 17 contents and syntax in lecture periods, and practice exercises in lab class.
COURSE EVALUATIONS
7 8
Examination Students will be able to implement the basic security measures available in Oracle such as creating users, password management, granting, revoking and passing privileges, assigning roles, and granting access to the public. Students will understand the basic PL/SQL structures such as conditional statements, loops, etc., and be able to write moderately complex PL/SQL programs, including cursors, and simple exception handling. Students will understand the types and uses of triggers and be able to create and manage triggers. Lecture on chapter 18 contents and syntax in lecture periods, and practice exercises in lab class. Assignment #2 covering Chapters 15 and 17.
An Introduction to PL/SQL
Chapter 29
Lecture on chapter 29 contents and syntax in lecture periods, and practice exercises in lab class.
10
Triggers
Chapter 30
11
Chapter 31
12
Handout
Students will be able to write sophisticated business rules and application logic in the form of procedures and functions, and use packages to group related logic. Students will understand the architecture of Oracle Form Builder, and be able to create forms using the Data Block, Layout, and LOV Wizards, including forms with multiple data blocks.
Lecture on chapter 30 contents and syntax in lecture periods, and practice exercises in lab class. Lecture on chapter 31 contents and syntax in lecture periods, and practice exercises in lab class. Handout presentation illustrating Form Builder architecture, and the use of data block, layout, and LOV wizards.
Quiz #3 on Chapters 30 and 31. Assignment #3 covering Chapters 29, 30, and 31.
8
CENTENNIAL COLLEGE
COMP214
WEEK
13
TOPICS
Introduction to Report Builder
READINGS/ MATERIALS
Handout
INSTRUCTIONAL STRATEGIES
Handout presentation illustrating Report Builder architecture, and the use of Report Wizard.
COURSE EVALUATIONS
14 15