Oracle Introduction for Experienced SQL Users — A 2-Day Course
Synopsis
This course is designed to give experienced SQL users practical experience in accessing an Oracle Database. This course is suitable for users of versions 9i, 10g and 11g.
Course Objectives
On completion of this course, delegates will be able to:
- Use SQL*Plus and SQL Developer to access the database
- Create and run SQL script files
- Query the database
- Use Oracle's numeric, character and date functions
- Implement Oracle's enhanced grouping features
- Create and alter tables, indexes and views
- Insert, update, merge and delete rows
- Grant and revoke access privileges
- Retrieve information from the data dictionary
Suitable For
This course is intended for:
- Anyone with practical experience of the SQL language who needs to migrate their existing skills to Oracle.
Prerequisites
Practical experience of using SQL with another relational database is required.
Publicly scheduled dates, locations, and prices
London — £725 (+VAT)
- 11–12 May 2010
- 20–21 Jul 2010
- 20–21 Sep 2010
- 1–2 Nov 2010
Outline Course Contents
Introduction
- Oracle - a brief overview
- Users and roles
- Object naming rules
- Oracle datatypes
- The data dictionary
- Using SQL*Plus
- Entering and executing SQL statements
- Creating, editing and running SQL scripts
- Using SQL Developer
- Starting SQL Developer
- Configuring a Connection
- Navigation Tabs
- SQL Worksheet
Querying the Database
- Overview of the basics
- Traditional Oracle v. ANSI-standard table joins
- Set operators
- Using aggregate functions
- Subqueries and in-line views
- Using the WITH clause
- Hierarchical queries
Numeric and Character Functions
- Using the table dual
- Numeric functions
- Formatting numeric output
- Character functions and string concatenation
Date and Time Functions
- Default date and timestamp formats
- Accessing the current date and time
- Date and time arithmetic
- Date functions
- Formatting date and time output
- Conversion functions
Miscellaneous Functions
- NVL and NVL2
- DECODE
- The simple CASE expression
- The searched CASE expression
Enhanced Grouping Features
- The ROLLUP extension
- The CUBE extension
- The GROUPING function
- The GROUPING_ID function
- The GROUPING SETS extension
Tables, Indexes and Views
- Creating tables
- Defining datatypes
- Specifying constraints
- Table, column and constraint operations
- Recovering dropped tables
- Temporary tables
- External tables
- Index-organized tables
- Handling B-tree indexes
- Creating and using views
- Creating and using sequences
Managing Data
- Inserting rows
- Updating rows
- Deleting rows
- Verifying updates
- Multi-table inserts
- Merging rows
- Basic transaction control
Access Control
- System privileges
- User accounts and roles
- Granting and revoking object privileges
- Using synonyms
The Data Dictionary
- Data dictionary tables
- Querying the data dictionary
- Useful SQL statements
Analytic Functions
- RANK and DENSE_RANK
- NTILE and WIDTH_BUCKET
- Analytic aggregates
- Reporting aggregate functions
- Windowing aggregate functions
