Skip to Main Content

Explore Oracle PL/SQL

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

Header container

December 03

14:00 UTC   Start Times Around the World

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

Having trouble watching the video on this page? Open the video in your browser.


Tips for Writing PL/SQL in APEX Apps
Ah, the joy of a low-code development tool like Application Express! You point, you click, and you get beautiful, powerful websites and mobile apps. But you will also almost certainly need to write some SQL and PL/SQL to complete the functionality of that application. Sadly, there is always a tendency when writing code within a point-and-click development environment to treat that code rather casually; after all, it is not the really important (user-facing) part of the application, right? Wrong! It’s all important, and it is way too easy to create an awful mess in your otherwise elegant APEX app if you treat your SQL and PL/SQL code as “second class citizens” in terms of the attention you give to it. Not to mention bad performance or maintenance nightmares! 

In this session, three expert APEX developers (Karen Cannell, Scott Wesley and Scott Spendolini) offer recommendations for how best to write and manage your SQL and PL/SQL in your APEX applications, with attendees chiming in - we are certain! - with their own suggestions.

Starting Times

3:04 - Overall introduction from Steven Feuerstein

5:58 - Karen Cannell on the fundamentals: don’t reinvent the wheel, don't litter, don't do it the hard way, don't forget where you live. And don’t wing it!

18:42 - Scott Wesley (using his cool app): guidance on conditions, triggers, interpreted PL/SQL, and dodging exceptions.

36:55 - Scott Spendolini on creating secure views with contexts, the power of virtual private database, good-to-knows on redaction and more.

Your Experts

Steven Feuerstein
Steven Feuerstein, Developer Advocate for PL/SQL    
Steven Feuerstein is a Senior Advisor at Insum Solutions (, and is obsessed with the Oracle PL/SQL language, having written ten books on it (all published by O'Reilly Media). You will find an abundance of quizzes from Steven at the Dev Gym. Enjoy!
Chris Saxon
Chris Saxon, Oracle Developer Advocate for SQL    
Chris Saxon is an Oracle Developer Advocate and quizmaster on Dev Gym. 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.