3

SQL in PL/SQL

This chapter is a collection of some fundamental aspects of using SQL statements in PL/SQL. In the previous chapter, you learned how to initialize variables with the assignment operator (:=); in this chapter, you will learn how to assign a value to a variable via a SELECT statement. You will also learn how DML statements may be used in the PL/SQL code. Finally, you will learn how to control transactions in PL/SQL.

Lab 3.1: SQL Statements in PL/SQL

Initializing Variables ...

Get Oracle PL/SQL by Example, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.