Book description
Master Oracle Database 12c PL/SQL Application Development
Develop, debug, and administer robust database programs. Filled with detailed examples and expert strategies from an Oracle ACE, Oracle Database 12c PL/SQL Programming explains how to retrieve and process data, write PL/SQL statements, execute effective queries, incorporate PHP and Java, and work with dynamic SQL. Code testing, security, and object-oriented programming techniques are fully covered in this comprehensive Oracle Press guide.
- Explore new SQL and PL/SQL features in Oracle Database 12c
- Build control structures, cursors, and loop statements
- Work with collections, varrays, tables, and associative array collections
- Locate and repair errors and employ exception handlers
- Execute black box, white box, and integration tests
- Configure and manage stored packages and libraries
- Handle security with authentication and encryption
- Use LOBs to store text and multimedia content
- Write and implement PL/SQL and Java triggers
- Extend functionality using dynamic SQL statements
- Understand object types, nested tables, and unnesting queries
Table of contents
- Cover
- Title Page
- Copyright Page
- About the Author
- Contents at a Glance
- Contents
- Acknowledgments
- Introduction
-
Part I: Oracle PL/SQL
- Chapter 1: Oracle PL/SQL Development Overview
-
Chapter 2: New Features
-
New SQL Features
- Data Catalog DIRECTORY Qualifies a LIBRARY Object
- Define Tables with Valid-Time (VT) Support
- Enhanced Oracle Native LEFT OUTER JOIN Syntax
- Default Values for Columns Based on Sequences
- Default Values for Explicit Null Insertion
- Identity Columns
- Increased Size Limits of String and Raw Types
- Pass Results from SQL Statements to External Programs
- Native SQL Support for Query Row Limits and Offsets
- Oracle Database Driver for MySQL Applications
- SQL CROSS APPLY, OUTER APPLY, and LATERAL
- Bequeath CURRENT_USER Views
-
New PL/SQL Features
- Caching of Invoker Rights Functions
- Ability to White List PL/SQL Program Unit Callers
- Native Client API Support for PL/SQL Types
- New PL/SQL Package UTL_CALL_STACK
- DBMS_UTILITY Adds EXPAND_SQL_TEXT Subprogram
- DBMS_SQL Adds a New Formal Schema to the PARSE Procedure
- PL/SQL Functions in SQL WITH Clause
- PL/SQL-Specific Data Types Allowed in SQL
- Implicit REF CURSOR Parameter Binding
- Supporting Scripts
- Summary
- Mastery Check
-
New SQL Features
- Chapter 3: PL/SQL Basics
- Chapter 4: Language Fundamentals
- Chapter 5: Control Structures
- Chapter 6: Collections
- Chapter 7: Error Management
-
Part II: PL/SQL Programming
- Chapter 8: Functions and Procedures
- Chapter 9: Packages
-
Chapter 10: Large Objects
- Working with Internally Stored LOB Types
- Reading Files into Internally Stored Columns
- Working with Binary Files (BFILEs)
-
Understanding the DBMS_LOB Package
- Package Constants
- Package Exceptions
- Opening and Closing Methods
-
Manipulation Methods
- APPEND Procedure
- CONVERTTOBLOB Procedure
- CONVERTTOCLOB Procedure
- COPY Procedure
- ERASE Procedure
- FRAGMENT_DELETE Procedure
- FRAGMENT_INSERT Procedure
- FRAGMENT_MOVE Procedure
- FRAGMENT_REPLACE Procedure
- ISSECUREFILE Function
- LOADBLOBFROMFILE Procedure
- LOADCLOBFROMFILE Procedure
- LOADFROMFILE Procedure
- SETOPTIONS Procedure
- TRIM Procedure
- WRITE Procedure
- WRITEAPPEND Procedure
- Introspection Methods
- BFILE Methods
- Temporary LOB Methods
- Security Link Methods
- Supporting Scripts
- Summary
- Mastery Check
- Chapter 11: Object Types
-
Chapter 12: Triggers
- Introduction to Triggers
- Database Trigger Architecture
-
Data Definition Language Triggers
-
Event Attribute Functions
- ORA_CLIENT_IP_ADDRESS
- ORA_DATABASE_NAME
- ORA_DES_ENCRYPTED_PASSWORD
- ORA_DICT_OBJ_NAME
- ORA_DICT_OBJ_NAME_LIST
- ORA_DICT_OBJ_OWNER
- ORA_DICT_OBJ_OWNER_LIST
- ORA_DICT_OBJ_TYPE
- ORA_GRANTEE
- ORA_INSTANCE_NUM
- ORA_IS_ALTER_COLUMN
- ORA_IS_DROP_COLUMN
- ORA_IS_SERVERERROR
- ORA_LOGIN_USER
- ORA_PARTITION_POS
- ORA_PRIVILEGE_LIST
- ORA_REVOKEE
- ORA_SERVER_ERROR
- ORA_SERVER_ERROR_DEPTH
- ORA_SERVER_ERROR_MSG
- ORA_SERVER_ERROR_NUM_PARAMS
- ORA_SERVER_ERROR_PARAM
- ORA_SQL_TXT
- ORA_SYSEVENT
- ORA_WITH_GRANT_OPTION
- SPACE_ERROR_INFO
- Building DDL Triggers
-
Event Attribute Functions
- Data Manipulation Language Triggers
- Compound Triggers
- INSTEAD OF Triggers
- System and Database Event Triggers
- Trigger Restrictions
- Supporting Scripts
- Summary
- Mastery Check
-
Chapter 13: Dynamic SQL
- Dynamic SQL Architecture
- Native Dynamic SQL (NDS)
- DBMS_SQL Package
- Supporting Scripts
- Summary
- Mastery Check
-
Part III: Appendixes and Glossary
-
Appendix A: Oracle Database Primer
- Oracle Database Architecture
- Starting and Stopping the Oracle Database 12c Server
- Starting and Stopping the Oracle Listener
- Multiversion Concurrency Control
- Definer Rights and Invoker Rights
-
SQL Interactive and Batch Processing
-
SQL*Plus Command-Line Interface
- Connecting to and Disconnecting from SQL*Plus
- Working in the SQL*Plus Environment
- Writing SQL Statements with SQL*Plus
- Saving SQL Statements with SQL*Plus
- Editing SQL Statements with SQL*Plus
- Rerunning SQL*Plus SQL Statements from the Buffer
- Aborting Entry of SQL Statements in SQL*Plus
- Calling and Running SQL*Plus Script Files
- Passing Parameters to SQL*Plus Script Files
- Calling PL/SQL Programs
- Writing SQL*Plus Log Files
- Oracle SQL Developer Interface
-
SQL*Plus Command-Line Interface
- Database Administration
- SQL Tuning
- SQL Tracing
- Summary
-
Appendix B: SQL Primer
- Oracle SQL Data Types
- Data Definition Language (DDL)
- Data Manipulation Language (DML)
- Transaction Control Language (TCL)
- Queries: SELECT Statements
- Join Results
- Summary
-
Appendix C: SQL Built-in Functions
- Character Functions
- Data Type Conversion Functions
-
Date-time Conversion Functions
- ADD_MONTHS Function
- CURRENT_DATE Function
- CURRENT_TIMESTAMP Function
- DBTIMEZONE Function
- EXTRACT Function
- FROM_TZ Function
- LAST_DAY Function
- LOCALTIMESTAMP Function
- MONTHS_BETWEEN Function
- NEW_TIME Function
- ROUND Function
- SYSDATE Function
- SYSTIMESTAMP Function
- TO_CHAR(date) Function
- TO_DSINTERVAL Function
- TO_TIMESTAMP Function
- TO_TIMESTAMP_TZ Function
- TO_YMINTERVAL Function
- TRUNC(date) Function
- TZ_OFFSET Function
- Collection Management Functions
- Collection Set Operators
- Number Functions
- Error Reporting Functions
- Miscellaneous Functions
- Summary
- Appendix D: PL/SQL Built-in Packages and Types
- Appendix E: Regular Expression Primer
- Appendix F: Wrapping PL/SQL Code Primer
- Appendix G: PL/SQL Hierarchical Profiler Primer
- Appendix H: PL/SQL Reserved Words and Keywords
- Appendix I: Mastery Check Answers
-
Appendix A: Oracle Database Primer
- Glossary
- Index
Product information
- Title: Oracle Database 12c PL/SQL Programming
- Author(s):
- Release date: February 2014
- Publisher(s): McGraw Hill Computing
- ISBN: 9780071812443
You might also like
book
Oracle Database 12c PL/SQL Advanced Programming Techniques
Take Your PL/SQL Programming Skills to the Next Level Build robust database-centric PL/SQL applications quickly and …
book
Oracle PL/SQL for DBAs
PL/SQL, Oracle's powerful procedural language, has been the cornerstone of Oracle application development for nearly 15 …
book
Beginning Oracle SQL: for Oracle Database 12c, Third Edition
Beginning Oracle SQL is your introduction to the interactive query tools and specific dialect of SQL …
book
Oracle Database 12c SQL
Write Powerful SQL Statements and PL/SQL Programs Learn how to access Oracle databases through SQL statements …