The Oracle PL/SQL language provides for programming logic features not contained within SQL. The grammar, syntax and benefits of using the PL/SQL language within an Oracle database environment are considered in this class.
This course is designed for all Oracle professionals including developers, database administrators, designers and analysts.
Upon completion of this course, the participant will be able to:> Declaring variables and complex datatypes> Developing logic within PL/SQL program blocks> Fetching data from the database into program variables> Returning program output to users> Handling program exceptions> Using explicit and implicit database cursors> Using the advanced features of nested blocks and subprograms
Language FeaturesWhy use PL/SQL?Where PL/SQL Program Units may be deployedThe Java Alternative to PL/SQLStructure of a PL/SQL Program BlockPL/SQL from Interactive ToolsGenerating OutputDeclare ClauseDatatypesDeclare ExampleSpecial Datatypes% Type Variable%ROW TYPE RecordType Table
Begin ClauseData ManipulationCHAR and VARCHARNumericDate BooleanComparison OperatorsFunctionsDate CalculationsSELECTINTOLOGIC Control and BranchingGOTOLOOPIF-THEN-ELSECASEExceptionHandling ExceptionSpecial FeaturesSystem Defined ExceptionsUsing SQLCODE & SQLLERRMImplicit CursorsUser-Defined EX_INEDPRAGMA EXCEPTION_INITExplicit CursorsUnderstanding CursorsExplaining the Cursor ExampleDeclare Cursor EOPEN Cursor ExampleCLOSE Cursor ExampleIncluding Cursor ParametersPerforming Updates from cursorsUsing FORLOOP Cursors
AdvancedUsing Nested BlocksUsing Declared SubprogramsDisplay_Message() Procedure ExampleGET_SPOUSE_NAME() Function Example
Oracle9i SQL (RT 262)Oracle9i Advanced SQL (RT 258)
“Great teacher. This has been my favorite class so far that I’ve taken with Education Services. The instructor was very knowledgeable and managed the class very well.” Student – UNIX and AIX