It's easy to sort out how to use EXECUTE IMMEDIATE, but constructing the SQL string can be tricky. This lesson shows how to write maintainable dynamic SQL code, and also explores SQL injection, as well as the role that AUTHID and autonomous transactions can play in dynamic SQL.
This video was taken from PLSQLChannel.com, originally recorded before Steven Feuerstein re-joined Oracle in March 2014.
========================================
Practically Perfect PL/SQL with Steven Feuerstein
Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Watch video DYN8: Best Practices for Writing Dynamic SQL (PL/SQL Channel) online, duration hours minute second in high quality that is uploaded to the channel Practically Perfect PL/SQL with Steven Feuerstein 18 December 2015. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,975 times and liked it 13 visitors.