Skip to Content
Oracle® PL/SQL® Interactive Workbook, Second Edition
book

Oracle® PL/SQL® Interactive Workbook, Second Edition

by Benjamin Rosenzweig, Elena Silvestrova
October 2002
Intermediate to advanced
688 pages
14h 14m
English
Pearson
Content preview from Oracle® PL/SQL® Interactive Workbook, Second Edition

Chapter 4. SQL in PL/SQL

Chapter Objectives

In this Chapter, you will learn about:

Making Use of DML in PL/SQL

Making Use of SAVEPOINT

This chapter is a collection of some fundamental elements ofusing SQL statements in PL/SQL blocks. In the previous chapter, you initialized variables with the “:=” syntax; in this chapter, we will introduce the method of using a SQL select statement to update the value of a variable. These variables can then be used in DML statements (INSERT, DELETE, or UPDATE). Additionally, we will demonstrate how you can use a sequence in your DML statements within a PL/SQL block much as you would in a stand-alone SQL statement.

A transaction in Oracle is a series of SQL statements that have been grouped together into ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Enterprise Manager 10g Grid Control Handbook

Oracle Enterprise Manager 10g Grid Control Handbook

Werner De Gruyter, Matthew Hart, Daniel Nguyen
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
Oracle® Database 10g Insider Solutions

Oracle® Database 10g Insider Solutions

Arun Kumar R., John Kanagaraj, Richard Stroupe

Publisher Resources

ISBN: 0130473200Purchase book