Getting Started with PL/SQL Table Functions: Pipelined Table Functions

preview_player
Показать описание
Pipelined table functions are table functions in which rows are returned or "piped" back to the calling query before the function has completed, avoiding the blocking behavior of normal PL/SQL functions and reduce PGA consumption.

========================================
Practically Perfect PL/SQL with Steven Feuerstein

Copyright © 2018 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.
Рекомендации по теме
Комментарии
Автор

Awesome Steven loved it!!!! What a powerful feature !!

srinivass
Автор

Steven Sir can we create object types inside a package specification for use as return type on pipelined table function?

somnathbanerjee
Автор

Thanks for this video, Steven! Quick question. When I create my table do I have to specify the number of rows? I want to try using a pipelined table to populate a table when I gather multiple columns from two separate tables. I’ve tried using CTEs and an inner join, which was almost successfully until I started to get multiple rows with duplicate data returned when I only needed the one row. I did try a select distinct to remove the duplicate rows but that proved futile of an effort. I’ve recently signed up for Dev Gym and watching your videos has given me some other ideas to try

terrikool
Автор

Hi Steven, I have a question . As you mentioned in the "rownum<10" example, the select checks that if 9 rows have been returned then stop the pipelined process. So, does this involve context switching between SQL and PL/SQL engine? If yes, then will a bigger value create performance issue i.e. something like rownum ? Thanks

akashjain
Автор

Awesome !! Then is there a real advantage using non pipelined functions, should we always using pipelined functions?

sakthikumarperiyasamy
Автор

I have one question, I tried many time used cursor variable with return type inside package specification but
it got failed . It shows pls-00994 error

ramakantsahoo
Автор

You don't need to open the cursor rows_in before fetch then ?

lucasbotelho