Advanced Oracle PL/SQL Developer's Guide - Second Edition
eBook - ePub

Advanced Oracle PL/SQL Developer's Guide - Second Edition

Saurabh K. Gupta

Buch teilen
  1. 428 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Advanced Oracle PL/SQL Developer's Guide - Second Edition

Saurabh K. Gupta

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

Master the advanced concepts of PL/SQL for professional-level certification and learn the new capabilities of Oracle Database 12cAbout This Book• Learn advanced application development features of Oracle Database 12c and prepare for the 1Z0-146 examination• Build robust and secure applications in Oracle PL/SQL using the best practices• Packed with feature demonstrations and illustrations that will help you learn and understand the enhanced capabilities of Oracle Database 12cWho This Book Is ForThis book is for Oracle developers responsible for database management. Readers are expected to have basic knowledge of Oracle Database and the fundamentals of PL/SQL programming. Certification aspirants can use this book to prepare for 1Z0-146 examination in order to be an Oracle Certified Professional in Advanced PL/SQL.What You Will Learn• Learn and understand the key SQL and PL/SQL features of Oracle Database 12c• Understand the new Multitenant architecture and Database In-Memory option of Oracle Database 12c• Know more about the advanced concepts of the Oracle PL/SQL language such as external procedures, securing data using Virtual Private Database (VPD), SecureFiles, and PL/SQL code tracing and profiling• Implement Virtual Private Databases to prevent unauthorized data access• Trace, analyze, profile, and debug PL/SQL code while developing database applications• Integrate the new application development features of Oracle Database 12c with the current concepts• Discover techniques to analyze and maintain PL/SQL code• Get acquainted with the best practices of writing PL/SQL code and develop secure applicationsIn DetailOracle Database is one of the most popular databases and allows users to make efficient use of their resources and to enhance service levels while reducing the IT costs incurred. Oracle Database is sometimes compared with Microsoft SQL Server, however, Oracle Database clearly supersedes SQL server in terms of high availability and addressing planned and unplanned downtime. Oracle PL/SQL provides a rich platform for application developers to code and build scalable database applications and introduces multiple new features and enhancements to improve development experience.Advanced Oracle PL/SQL Developer's Guide, Second Edition is a handy technical reference for seasoned professionals in the database development space. This book starts with a refresher of fundamental concepts of PL/SQL, such as anonymous block, subprograms, and exceptions, and prepares you for the upcoming advanced concepts. The next chapter introduces you to the new features of Oracle Database 12c, not limited to PL/SQL. In this chapter, you will understand some of the most talked about features such as Multitenant and Database In-Memory. Moving forward, each chapter introduces advanced concepts with the help of demonstrations, and provides you with the latest update from Oracle Database 12c context. This helps you to visualize the pre- and post-applications of a feature over the database releases. By the end of this book, you will have become an expert in PL/SQL programming and will be able to implement advanced concepts of PL/SQL for efficient management of Oracle Database.Style and approach The book follows the structure of the Oracle Certification examination but doesn't restrict itself to the exam objectives. Advanced concepts have been explained in an easy-to-understand style, supported with feature demonstrations and case illustrations.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Advanced Oracle PL/SQL Developer's Guide - Second Edition als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Advanced Oracle PL/SQL Developer's Guide - Second Edition von Saurabh K. Gupta im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Databases. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2016
ISBN
9781785282522

Advanced Oracle PL/SQL Developer's Guide Second Edition


Table of Contents

Advanced Oracle PL/SQL Developer's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Overview of PL/SQL Programming Concepts
Introduction to PL/SQL
PL/SQL program fundamentals
Cursors – an overview
The cursor execution cycle
Cursor attributes
Cursor FOR loop
Exception handling in PL/SQL
System-defined exceptions
User-defined exceptions
The RAISE_APPLICATION_ERROR procedure
Exception propagation
Creating stored procedures
Executing a procedure
Functions
Functions – execution methods
Restrictions on calling functions from SQL expressions
A PL/SQL package
Oracle Database 12c enhancements to PL/SQL subprograms
Managing database dependencies
Displaying the direct and indirect dependencies
Dependency metadata
Dependency issues and enhancements
Reviewing Oracle-supplied packages
Oracle SQL Developer
Oracle SQL Developer for DBA, Developers, and Application Architects
SQL Developer 4.0
Summary
Practice exercise
2. Oracle 12c SQL and PL/SQL New Features
Database consolidation and the new Multitenant architecture
The Oracle Database 12c Multitenant architecture – features
Multitenant for Consolidation
Plug/unplug
Manage Many as One
Rapid provisioning
CDB Resource Management
Common users and local users
Oracle 12c SQL and PL/SQL new features
IDENTITY columns
Default column value to a sequence in Oracle 12c
The DEFAULT ON NULL clause
Support for 32K VARCHAR2
Row limiting using FETCH FIRST
Invisible columns
Temporal databases
In-Database Archiving
Defining a PL/SQL subprogram in the SELECT query and PRAGMA UDF
Test setup
Comparative analysis
The PL/SQL program unit white listing
Granting roles to PL/SQL program units
Test setup
Miscellaneous PL/SQL enhancements
The Oracle Database 12c (12.1.0.2) In-Memory option
The challenge
The problem statement and Oracle Database 12c In-Memory
Oracle Database 12c In-Memory option features
The Oracle Database 12c In-Memory Architecture
Controlling the In-Memory column store
The INMEMORY clause
Performance optimizations
In-Memory Advisor
Oracle Database In-Memory benefits
Summary
3. Designing PL/SQL Code
Cursor structures
Cursor execution cycle
Cursor attributes
Implicit cursors
Explicit cursors
Cursor variables
Strong and weak ref cursor types
Working with cursor variables
SYS_REFCURSOR
Cursor variables as arguments
Cursor variables – restrictions
Cursor design considerations
Cursor design–guidelines
Implicit statement results in Oracle Database 12c
Subtypes
Subtype classification
Type compatibility with subtypes
Summary
Practice exercise
4. Using Collections
Introduction to collections
Collection types
Associative arrays
Nested tables
Modify and drop a nested table object type
Design considerations of a nested table
Nested table storage
Nested table in an index - organized table
Nested table locators
Nested table as the schema object
Operations on a nested table type column
Create a nested table instance
Querying a nested table column
Nested table collection type in PL/SQL
Collection initialization
Querying the nested table metadata
Nested table comparison functions
Multiset operations on nested tables
Varray
Varray as a schema object
Operations on varray type columns
Inserting varray collection type instance
Querying varray column
Updating the varray instance
Varray in PL/SQL
Comparing the collection types
Selecting the appropriate collection type
Oracle 12c enhancements to collections
PL/SQL collection methods
EXISTS
COUNT
LIMIT
FIRST and LAST
PRIOR and NEXT
EXTEND
TRIM
DELETE
Summary
Practice exercise
5. Using Advanced Interface Methods
Overview of External Procedures
External Procedures
Components of external procedure execution flow
The extproc agent
The Library object
Callout and Callback
Call Specification
How an External Procedure executes
Environment setup
TNSNAMES.ora
EXTPROC.ora
Executing external C programs from PL/SQL
Securing External Procedures with Oracle Database 12c
Executing Java programs from PL/SQL
Loading a Java class into a database
Steps to execute a Java class from an Oracle PL/SQL unit
Summary
Practice exercise
6. Virtual Private Database
Oracle Database Security overview
Fine-Grained Access Control
How FGAC works
Virtual Private Database
How does Virtual Private Database work?
Column-level Virtual Private Database
Virtual Private Database with Oracle Database 12c Multitenant
Virtual Private Database components
Application Context
Virtual Private Database policy function
Policy types
The DBMS_RLS package
Demonstration
Virtual Private Database features and best practices
Virtual Private Database metadata
Policy utilities—refresh and drop
Oracle Database 12c Security enhancements
Oracle Database 12c Data Redaction
Data Redaction exemptions and miscellaneous features
Data Redaction function types
Demonstration
The Data Redaction metadata
Summary
Practice exercise
7. Oracle SecureFiles
Introduction to Large Objects
Classification of Large Object datatypes
Internal LOB
Persistent and Temporary LOB
External LOB
LOB restrictions
LOB data types in Oracle
BLOB and CLOB
BFILE
Some more related stuff
The LOB locator
LOB instance initialization
The DBMS_LOB package
The DBMS_LOB constants
The DBMS_LOB data types
The DBMS_LOB subprograms
LOB usage notes
Oracle SecureFiles
Deduplication and...

Inhaltsverzeichnis