Get Started with Table Functions Module 1: Overview and Fundamentals

  Рет қаралды 23,448

Practically Perfect PL/SQL with Steven Feuerstein

Practically Perfect PL/SQL with Steven Feuerstein

Күн бұрын

This video is part of the Oracle Dev Gym class "Getting Started with Table Functions". This module offers an overview of table functions: what they are, how they work, and a simple example of a table function that returns a collection of scalar values.
You can watch this video independent of the class, but then you miss out on the videos and quizzes. So we encourage you to go to the page below and register for the class!
devgym.oracle....
========================================
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.

Пікірлер: 22
@adarshsrivastava4805
@adarshsrivastava4805 6 жыл бұрын
You are a BEAUTY sir.Loved the Way you explained it sir simple and to the point ,In a single shot I got Every point quite clearly.HUGE LOVE FROM INDIA SIR... RESPECT.
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 6 жыл бұрын
You are very kind. Please make sure to try the whole class at devgym.oracle.com
@GautamKumar-ci4rz
@GautamKumar-ci4rz 4 жыл бұрын
Awesome Steve , This is best video to understand table function. Thanks for sharing this
@shashank2004
@shashank2004 6 жыл бұрын
Awsome video sir, pls make a video on hints and pragma inline, pragma serially reusable, pragma restrict refrence and i want to know about the scope of PLSQL in future?
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 6 жыл бұрын
Thanks for the request, Shashank. Will add to list. restrict_references, by the way, isn't really used anymore. Serially reusable - check out my LiveSQL script: livesql.oracle.com/apex/livesql/file/content_C1W6NZ9AL8CN7Z3T6GBZBIUNR.html
@tammarinwonderland1
@tammarinwonderland1 5 жыл бұрын
Good stuff!
@hubbellrowe9012
@hubbellrowe9012 6 ай бұрын
How do we compile PL/SQL queries on our local machine? The sqldeveloper program downloaded from oracle does not work for my Ubuntu 22.04 machine and I see no alternatives. Is there any normal CLI PL/SQL compiler that would be easy to download as is available for other SQL languages? I really think that any introduction to a language should include at least some information on how a user can download and use this language on their local machine, or all the tutorials under the sun will not be of any use. Any help would be greatly appreciated.
@praveenkumar-fx5wx
@praveenkumar-fx5wx 5 жыл бұрын
Hi Sir, Great video .. thanks for sharing. However suppose we have lots of data data in the collection (l_collection.count=300,000) .Now when we use table function what about the performance (will there be any performance issue) and memory usage (will the memory usage be very high ) ?
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 5 жыл бұрын
Then you should consider a switch to pipelined table functions, which bypass the memory issue. I strongly encourage you to take my table functions class at the dev gym: devgym.oracle.com/pls/apex/dg/class/get-started-with-pl-sql-table-functions.html
@praveenkumar-fx5wx
@praveenkumar-fx5wx 5 жыл бұрын
Practically Perfect PL/SQL with Steven Feuerstein thanks sir !
@abhi1302
@abhi1302 6 жыл бұрын
I used Table function to return multiple error/Exception on a set of record.. But what about pipe line functions current example we are not using pipeline function..
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 6 жыл бұрын
Did you watch the pipelined table function video? It's #4 in the series (and please do take the class at devgym.oracle.com). You can safely switch to pipelined, and get reduction in PGA consumption and possible improvements in performance. The only downside is you cannot call the function outside of a SQL statement.
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 6 жыл бұрын
Check out my separate video on pipelined table functions.
@Bob-ig4bi
@Bob-ig4bi 3 жыл бұрын
I copied your list_of_names code, but get an error. CREATE OR REPLACE TYPE list_of_names_t IS TABLE OF VARCHAR2(100); / DECLARE happyfamily list_of_names_t := list_of_names_t (); children list_of_names_t := list_of_names_t (); grandchildren list_of_names_t := list_of_names_t (); parents list_of_names_t := list_of_names_t (); BEGIN /* Can extend in "bulk" - 6 at once here ---- indexes in nested tables and varrays start at 1, not 0 */ happyfamily.EXTEND(7); happyfamily(1) := 'Veva'; happyfamily(2) := 'Chris'; happyfamily(3) := 'Lauren'; happyfamily(4) := 'Loey'; happyfamily(5) := 'Juna'; happyfamily(6) := 'Eli'; happyfamily() := 'Steven'; /* Individual extends */ children.EXTEND; children (children.LAST) := 'Chris'; children.EXTEND; children (children.LAST) := 'Eli'; children.EXTEND; children (children.LAST) := 'Lauren'; grandchildren.EXTEND; grandchildren (grandchildren.LAST) := 'Loey'; grandchildren.EXTEND; grandchildren (grandchildren.LAST) := 'Juna'; /* Multiset operators on nested tables */ parents := (happyfamily MULTISET EXCEPT children) MULTISET EXCEPT grandchildren; DBMS_OUTPUT.PUT_LINE ('Grandparents:'); FOR l_row IN 1 .. parents.COUNT LOOP DBMS_OUTPUT.PUT_LINE (parents (l_row)); END LOOP; happyfamily.DELETE; DBMS_OUTPUT.PUT_LINE ('Size of Happy Family: ' || happyfamily.COUNT); DBMS_OUTPUT.PUT_LINE (':=)'); END; /
@Bob-ig4bi
@Bob-ig4bi 3 жыл бұрын
[Error] Execution (5: 23): ORA-06550: line 2, column 23: PLS-00201: identifier 'LIST_OF_NAMES_T' must be declared ORA-06550: line 2, column 23: PL/SQL: Item ignored ORA-06550: line 3, column 23: PLS-00201: identifier 'LIST_OF_NAMES_T' must be declared ORA-06550: line 3, column 23: PL/SQL: Item ignored ORA-06550: line 4, column 23: PLS-00201: identifier 'LIST_OF_NAMES_T' must be declared ORA-06550: line 4, column 23: PL/SQL: Item ignored ORA-06550: line 5, column 23: PLS-00201: identifier 'LIST_OF_NAMES_T' must be declared ORA-06550: line 5, column 23: PL/SQL: Item ignored ORA-06550: line 8, column 5: PLS-00320: the declaration of the type of this expression is incomplete or malformed ORA-06550: line 8, column 5: PL/SQL: Statement ignored ORA-06550: line 9, column 5: PLS-00320: the declaration of the type of this expression is incomplete or malformed ORA-06550: line 9, column 5: PL/SQL: Statement ignored ORA-06550: line 10, column 5: PLS-00320: the declaration of the type of this expression is incomplete or malformed ORA-06550: line 10,line 10,䮉櫘翹
@melokorn
@melokorn 2 жыл бұрын
Which kind of error?
@abdullahsiddique7787
@abdullahsiddique7787 2 жыл бұрын
What is the future scope of pl sql as a career
@slither366
@slither366 8 ай бұрын
I have watching this in 2023 :), I don't know if this is continying works in the same way or this have been any modifications.
@umrbekmatrasulov4141
@umrbekmatrasulov4141 2 жыл бұрын
this video is awful and not useful for beginners, there is absolutely no information about which software this guy is using, how to install server, code editor, and there is no explanation for each row. At 5:00 just shows to you a bunch of code - and here we go, understand it how you want
@krakajak67
@krakajak67 Жыл бұрын
If you are starting with Oracle Table Functions as a beginner, you have very much got a long way to go.
@umrbekmatrasulov4141
@umrbekmatrasulov4141 Жыл бұрын
@@krakajak67 ok. Do you have any recommendations where to start?
@slither366
@slither366 8 ай бұрын
@@umrbekmatrasulov4141 you need to check the other videos for beginners.
Getting Started with PL/SQL Table Functions 3: Streaming Table Functions
16:39
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 8 М.
Top PL/SQL Tips In Just One Hour
1:00:53
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 52 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 4,4 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 78 МЛН
Teaching a Toddler Household Habits: Diaper Disposal & Potty Training #shorts
00:16
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 15 МЛН
Getting Started with PL/SQL Table Functions: Pipelined Table Functions
14:49
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 23 М.
BLK2: Get Data Faster with BULK COLLECT (PL/SQL Channel)
24:36
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 15 М.
COL3: Working With Collection Methods
31:56
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 16 М.
Performance Anti-Patterns: Non-query DML inside loops
14:03
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 19 М.
COL2: Defining Collection Types
12:57
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 18 М.
COL1: Introduction to Collections
16:00
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 45 М.
Polymorphic Table Functions in PL/SQL
58:48
Oracle Developers
Рет қаралды 2,7 М.
COL4: Working with Associative Arrays
34:23
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 16 М.
PL/SQL Collections
58:19
Oracle Developers
Рет қаралды 32 М.
Getting Started with PL/SQL Table Functions 2. Returning Multiple Columns
7:56
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 11 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 4,4 МЛН