CS 494 - Database Programming with Oracle
Lynchburg College Computer Science
Jan. 13, 2003
Click on Textbook to see table of contents
for Enhanced Guide to Oracle 8i
Instructors :
Dr. Randy Ribler (ribler_r@lynchburg.edu) and
Dr. Constantine Roussos (roussos@lynchburg.edu)
Offices: Hobbs 103, Hobbs104
Office Phones: 544-8529, 544-8395
COURSE SYLLABUS
Databases may be the most widespread computer application today. Hardly a business exists that does not employ databases to store critical information. The data stored in these databases is accessed and updated using database management systems such as Oracle, Microsoft Access and Microsoft SQL Server. This course is designed to give the student an understanding of databases and database management systems. Emphasis is placed upon the proper design of databases while meeting users' special needs. The Oracle database management system will be used throughout the course. The student will complete numerous database projects to reinforce these concepts and gain a proficiency in the design and use of databases. Students will become proficient in programming databases using the PL/SQL language. The student will also learn how to access databases via a procedural/ object-oriented high-level programming language. The course strongly emphasizes a hands-on approach to database programming and administration.
The primary objectives of this course are the following:
- Learn Relational Database Concepts
- Install the Oracle Database
- Create and Maintain Secure Databases.
- Manage Oracle Databases
- Program in Oracle PL/SQL
- Access Oracle Databases through a Procedural/ Object-Oriented Programming Language
This course fulfills CS major and minor requirements for courses 300 level or above.
More information, supplementary materials, sample tests, study guides, etc. are located at http://cs-netlab-01.lynchburg.edu/courses/Oracle/index.htm
- Your Computer Accounts at the College
- Using your server account.
1) On-campus computing facilities.
2) Logging into your account.
a. Username, Password, UIC.
b. Directories and subdirectories.
c. Privileges and access.
- Accessing course materials on the web.
- Electronic MAIL in the course
1. Your email address(es)
2. Using MAIL commands.
a. Reading, sending, extracting, etc.
b. Sending MAIL to me.
3. Your homework assignments, programs and general communication.
-
- Chapter 1 - Client/Server Databases and the Oracle8i Relational Database
Learning Objectives
After completing Chapter 1, you will be able to:
- Understand the purpose of database systems
- Understand the differences between client/server and personal databases
- Understand the structure of relational database tables and be familiar with relational database terms
- Be able to identify primary, foreign, composite, and surrogate key fields
- Understand the Clearwater Traders, Northwoods University, and Software Experts case study databases
- Chapter 2 - Creating and Modifying Database Objects
Learning Objectives
After completing this chapter, you will be able to:
- Understand Oracle user accounts and system privileges
- Identify the properties of an Oracle database table
- Understand the different data types used in an Oracle database table
- Understand how integrity and value constraints are specified in an Oracle database table
- Create and modify database tables using SQL*Plus
- Use the Oracle online help system
- Understand how to modify existing database tables
- Chapter 3 - Using Oracle to Add, View, and Update Data
Learning Objectives
After completing this Lesson, you will be able to:
- Run scripts to automate SQL commands
- Insert data values into database tables using SQL commands
- Understand database transactions
- Update and delete database records using SQL
- Create sequences
- Grant and revoke object privileges
- Write SQL queries to retrieve data records from a single database table
- Sort and group query output
- Use mathematical calculations, number functions, and date arithmetic to manipulate data values in queries
- Create queries with input variables
- Format query output in SQL*Plus
- Write SQL queries to join multiple database tables
- Create nested queries with subqueries
- Combine query results using set operators
- Create database views and indexes
- Understand private and public synonyms
- Chapter 4 - Introduction to PL/SQL
Learning Objectives After completing this Lesson, you will be able to:
- Understand PL/SQL variables and data types
- Understand the structure of PL/SQL program blocks
- Create a PL/SQL program
- Manipulate variables and perform. number and character string operations
- Become familiar with PL/SQL program control structures
- Learn how to debug PL/SQL programs
- Use SQL commands in PL/SQL programs
- Create loops in PL/SQL programs
- Create PL/SQL tables and tables of records
- Use cursors to process database data
- Understand how to use the EXCEPTION section in a PL/SQL program for error handling
- Chapter 5 - Advanced PL/SQL Programming
Learning Objectives
After completing this Lesson, you will be able to:
- Understand named PL/SQL program units
- Create server-side stored procedures and functions in SQL*Plus
- Use Procedure Builder to create client-side PL/SQL program units
- Use the Procedure Builder debugging environment
- Create libraries of program units
- Call procedures from other procedures and pass parameter values
- Create server-side stored program units and libraries in Procedure Builder
- Understand program unit dependencies
- Create packages
- Create database triggers
- Understand the Oracle built-in packages
- Understand how to use the DBMS_JOB built-in package
- Use the DBMS_PIPE and DBMS_DDL built-in packages
- Understand Dynamic SQL
- Use Dynamic SQL to create programs with query parameters that are defined when the program is executed
- Chapter 6 - Creating Oracle Data Block Forms
Learning Objectives
After completing this Lesson, you will be able to:
- View, insert, update, and delete data records using a data block form.
- Create a single-table data block form.
- Understand form. components
- Understand how to navigate and access form. objects using the Object Navigator
- Create a single-table data block form. that displays multiple records
- Create a data block form. based on a view
- Modify form. properties to improve form. appearance and function
- Create a master-detail form. that contains multiple data blocks
- Format form. text items using format masks
- Delete data blocks from forms
- Use sequences to automatically generate primary keys in a form.
- Create single and multiple table lists of values (LOVs) to provide lists for foreign key values in forms
- Create editors to aid entering and editing blocks of text
- Become familiar with different form. item types that you can use to enter and modify data values
- Chapter 7 - Creating Custom Forms
Learning Objectives
After completing this Lesson, you will be able to:
- Design and create a custom form.
- Write PL/SQL triggers to process database records
- Create program units that are called by a trigger
- Use the Form. Builder Debugger
- Understand navigational triggers
- Control user navigation in a form.
- Understand and control default system messages
- Create alerts and messages to provide system feedback
- Create applications that avoid user errors
- Trap common runtime errors
- Validate form. data
- Link data blocks and control blocks
- Create a form. with multiple canvases
- Create tabbed and stacked canvases
- Chapter 8 - Advanced Form. Builder Topics
Learning Objectives
After completing this Lesson, you will be able to:
- Create and use non-input data items that display images and sounds
- Create boilerplate objects and calculated form. text items
- Create static and dynamic image items that display graphics
- Understand alternate data block sources
- Program form. function keys
- Understand how forms handle transaction processing
- Understand how to develop forms that handle large data sets
- Understand mouse events
- Control the appearance of the mouse pointer
- Work with record groups
- Control data block relationships
- Chapter 9 - Using Report Builder
Learning Objectives
After completing this Lesson, you will be able to:
- Understand Report Builder report styles
- Use the Report Wizard to create a single-table report
- Understand the Report Builder Object Navigator
- Create a report that shows master-detail relationships
- Create a report template
- Describe the components of a report
- Modify report components
- Modify the format of master-detail reports
- Create a user parameter to allow users to customize report data
- Create multipanel reports that span multiple horizontal pages
- Display image, sound, and video data in a report
- Describe different report file types
- Created calculated report columns
- Understand report triggers
- Manually create report queries and data links
- Create a link file object to display the contents of a file in a report
- Run a report from a form.
- Chapter 10 - Using Graphics Builder
Learning Objectives
After completing this Chapter, you will be able to:
- Use Graphics Builder to create charts based on database data
- Create a form. that passes user inputs to a chart
- Create a form. that displays a chart
- Create a report that displays a chart
- Chapter 11 - Creating an Integrated Database Application
Learning Objectives
After completing this Lesson, you will be able to:
- Understand the steps for developing a database application
- Design an interface for a database application
- Create a global path variable to specify the location of application files
- Use timers to create a splash screen
- Create template forms and visual attribute groups to ensure consistency across form. modules
- Understand how to open, navigate among, and close form. modules in an integrated database application
- Use Project Builder to create an integrated database application project
- Use the Project Builder environment
- Manage project components
- Deliver an Oracle project
- Customize the Project Builder environment
- Describe form. menu components
- Create and display custom pull-down menus on forms
- Create a menu toolbar
- Create context-sensitive pop-up menus
- Specify menu selections programmatically
- Use menus to enforce form. security
- Chapter 12 - Form. Builder Objects and Flexible Code
Learning Objectives
After completing Lesson A, you will be able to:
- Understand object-oriented principles
- Use property classes to share object properties
- Store reusable objects in object groups
- Create object libraries to store reusable objects
- Use PL/SQL libraries to share PL/SQL program units
- Use the built-in calendar class to create a form. calendar window
- Understand flexible code
- Use system variables to create flexible code
- Use built-in subprograms to create flexible code
- Use indirect referencing to write flexible code
价格: 5
地区: 北京 海淀