HomeНаука и техникаRelated VideosMore From: Oracle Developers

Ask TOM Office Hours: Fetching Single Rows in PL/SQL

16 ratings | 493 views
Held on April 3 2018 An exploration of the nuances of fetching a single row. You have a number of implementation choices and it is definitely not a one-size-fits-all. Steven reviewed the most common options (implicit cursor (SELECT-INTO), explicit cursor, cursor FOR loop) and touched on dynamic SQL. He then answered questions about options for multi-row fetching, table operator and table functions and more. Here's a quick guide to the highlights: First 12 minutes: some philosophical musings and an overview of single row fetching 12:30 - Explicit Cursors 14:45 - Declaring records based on explicit cursors 16:15 - The benefits and drawbacks of the cursor FOR loop (for single row fetches) 19:42 - Multi-row fetching options 24:00 - Table operator and table functions 31:15 - Use LiveSQL as source of examples AskTOM Office Hours offers free, monthly training and tips on how to make the most of Oracle Database, from Oracle product managers, developers and evangelists. https://asktom.oracle.com/ https://developer.oracle.com https://cloud.oracle.com/en_US/tryit music: bensound.com
Html code for embedding videos on your blog
Text Comments ()

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.