Тёмный

Get Started with Table Functions Module 1: Overview and Fundamentals 

Practically Perfect PL/SQL with Steven Feuerstein
Подписаться 19 тыс.
Просмотров 23 тыс.
50% 1

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.

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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
@tammarinwonderland1
@tammarinwonderland1 5 лет назад
Good stuff!
@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
@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.
@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.
@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.
@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
@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.
Далее
Top PL/SQL Tips In Just One Hour
1:00:53
Просмотров 52 тыс.
Bike Challenge
00:20
Просмотров 20 млн
Performance Anti-Patterns: Non-query DML inside loops
14:03
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
COL3: Working With Collection Methods
31:56
Просмотров 16 тыс.
COL2: Defining Collection Types
12:57
Просмотров 18 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 356 тыс.