Skip to Main Content

Explore Oracle PL/SQL

Free tips and training every month! Subscribe for reminders and more from Office Hours. FAQ
Dev Live Dev Intro

This month we are celebrating Developers at AskTOM. We welcome Developers of all levels of experience to join us at our FREE Developer Live events coming in August. Just click on the left to register today! If you are brand new to Database Technology, then we also have got you covered. Just click on the right for your comprehensive FREE training program to kick start your Oracle Database Development journey!

Header container

April 07

15:00 UTC   Start Times Around the World

Beyond the Basics with FORALL
The FORALL statement offers a way to reduce context switches while executing the same non-query DML (e.g., an update statement) multiple times, with different bind values. It also has a whole bunch of knobs and switches to get the most out of it. In this Office Hours session, Steven and Chris explore some of the more advanced aspects of FORALL, including handling sparse collections with INDICES OF and VALUES OF, FORALL with dynamic SQL, and more.

Highlights

00:10 Introduction, review of resources for Oracle Database developers
06:47 Agenda for the session
07:26 Create table from view taking 3-4 days?!
10:30 Quick review of FORALL
11:47 FORALL and sparse collections
16:37 Working with INDICES OF
20:40 Advanced use case for INDICES OF
24:41 Impact on SQL%BULK* pseudo collections
28:25 Working with VALUES OF
31:05 FORALL and dynamic SQL
33:21 Converting from row-by-row to bulk processing

Subscribe to give us feedback and be notified of upcoming sessions!

Session Resources

Experts

Your Experts
Steven Feuerstein
Steven Feuerstein, Developer Advocate for PL/SQL    
Steven Feuerstein leads a team of Developer Advocate at Oracle Corporation, and is obsessed with the Oracle PL/SQL language, having written ten books on it (all published by O'Reilly Media). He's published over 1400 quizzes on PL/SQL at the Oracle Dev Gym.
Chris Saxon
Chris Saxon, Oracle Developer Advocate for SQL    
Chris Saxon is the quizmaster for the Database Design competitions and an Oracle Developer Advocate for SQL. His job is to help you get the best out of the Oracle Database and have fun with SQL! He's also part of the answer team on Ask TOM and creates YouTube videos at The Magic of SQL channel.