Home
Search results “Oracle sql pipelined function”
Getting Started with PL/SQL Table Functions: Pipelined Table Functions
 
14:49
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. This video is part of the Oracle Dev Gym class "Getting Started with Table Functions". You can watch it independent of the class, but then you miss out on the tutorials and quizzes! So visit https://devgym.oracle.com/pls/apex/dg/class/getting-started-with-pl-sql-table-functions.html and register for the class! ======================================== 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.
Efficient Function Calls From SQL (Part 5) : Pipelined Table Functions
 
03:48
The fifth part of a mini-series of videos showing how you can improve the performance of function calls from SQL. In this episode, we compare the performance of conventions table functions with pipelined table functions. For more information see: https://oracle-base.com/articles/misc/pipelined-table-functions https://oracle-base.com/articles/misc/efficient-function-calls-from-sql Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Mike Dietrich : Blog: https://blogs.oracle.com/UPGRADE Twitter: https://twitter.com/MikeDietrichDE Cameo appearances are for fun, not an endorsement of the content of this video.
Views: 12793 ORACLE-BASE.com
How to return multiple values from a function in oracle pl/sql ? (without using out parameter)
 
14:19
This video demonstrates how a function can return multiple values to the calling environment, but without using multiple out parameters, the video shows an example on how we can create a object, a nested table based on the object and then returning the nested table type from the function.
Views: 23472 Kishan Mashru
Oracle SQL Tutorial : How to return multiple values from the Function in Oracle PL/SQL
 
08:49
Oracle SQL Tutorial Oracle tutorial : How to return multiple values from the Function in Oracle PLSQL pl sql function This video tutorial tell you How to return multiple rows from the Function in Oracle PLSQL Using the TYPE object you can able return multiple rows from the function.Here object concept of oracle is used. Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 8035 Tech Query Pond
Get Started with Table Functions Module 1: Overview and Fundamentals
 
21:48
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! https://devgym.oracle.com/pls/apex/dg/class/getting-started-with-pl-sql-table-functions.html ======================================== 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.
Oracle sql Interview Question : How to change rows to column
 
09:18
This video tutorial talks about the frequently asked oracle sql interview question of changing rows to the column. Based on the given scenario, we are asked to change the presentation of data in a table with 3 rows and 2 column to 3 columns and 2 rows. Decode Function in oracle https://youtu.be/YUAjPMjqMws Pivot and unpivot in oracle https://youtu.be/6s0DI1YcWIM
Views: 20286 Kishan Mashru
Getting Started with PL/SQL Table Functions 2. Returning Multiple Columns
 
07:56
In this second module in the series, Steven Feuerstein explores the code you need to write when you want your table function to return an array with multiple columns. Best taken as part of the Oracle Dev Gym PL/SQL Table Functions class: https://devgym.oracle.com/pls/apex/dg/class/pl-sql-table-functions.html ======================================== 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.
PL/SQL Table Functions
 
50:27
Held on September 3 2018 Table functions are very cool: they are functions that return collections, and can be called in the FROM clause of a SELECT, as if it were a table or view. In this session, Steven Feuerstein starts with a quick intro to and demos of table functions. We then shift to answering your questions on this useful feature, including (new to 18c) polymorphic table functions and interactions between table functions and the SQL optimizer. 1:54 Whirlwind overview of table functions 9:48 LiveSQL demonstrations 24:42 Q&A: Materialized views and table functions 25:56 Q&A: Recommendations for organizing types needed for table functions 28:44 Introduction and overview of 18c polymorphic table functions 40:30 Table functions and the SQL optimizer 48:17 Table functions and SmartDB 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/ Oracle Developers portal: https://developer.oracle.com/ Sign up for an Oracle Cloud trial: https://cloud.oracle.com/en_US/tryit music: bensound.com
Views: 1117 Oracle Developers
Use NOCOPY to Improve Performance
 
05:15
The NOCOPY parameter hint tells the PL/SQL compiler to pass OUT and IN-OUT parameters "by reference" (meaning: do not copy in, nor copy out). The result is better performance and reduced PGA consumption. ====================================== 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.
create report from package - pipeline pl/sql Oracle
 
02:15
12-march-2017 Oracle Apex create report from package - pipeline pl/sql steps 1. Create package on dept from HR 2. Package Specification create or replace PACKAGE r_deptinfo AS TYPE t_row IS RECORD ( DEPTNO NUMBER(2,0), DNAME varchar2(60), LOC varchar2(60) ); TYPE t_tab IS TABLE OF t_row; FUNCTION get_tab(p_DEPTNO number) RETURN t_tab PIPELINED; END; / 3. Package body create or replace PACKAGE BODY r_deptinfo AS FUNCTION get_tab(p_DEPTNO number) RETURN t_tab PIPELINED IS l_row t_row; cursor c1 is select DEPTNO, DNAME, LOC from dept where (DEPTNO = p_DEPTNO or 1=1); BEGIN FOR r1 IN c1 LOOP l_row.DEPTNO := r1.DEPTNO; l_row.DNAME := r1.DNAME; l_row.LOC := r1.LOC; PIPE ROW (l_row); END LOOP; RETURN; END; END; / 4. Call package select DEPTNO, DNAME, LOC from table(r_deptinfo.get_tab(10)); col DNAME for a30 col LOC for a30 drop package r_deptinfo / 5. now we can use it anywhere as a sql statement thats it Thanks . . .
Views: 750 Mostafiz Mitul
Oracle Function Pipelined
 
13:21
Como criar function pipelined
Views: 3059 MasterTraining
Efficient Function Calls From SQL (Part 3) : PL/SQL Function Result Cache
 
02:11
The third part of a mini-series of videos showing how you can improve the performance of function calls from SQL. In this episode, we take a look at the Cross-Session PL/SQL Function Result Cache introduced in Oracle 11g. For more information see: https://oracle-base.com/articles/misc/efficient-function-calls-from-sql#oracle-11g-caching https://oracle-base.com/articles/11g/cross-session-plsql-function-result-cache-11gr1 Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Auckland Oracle DBAs Meetup : Website: http://www.meetup.com/Auckland-Oracle-DBAs-Meetup/ Sponsors: - DBvisit: http://www.dbvisit.com/ - Datacom: http://www.datacom.co.nz/ - Oracle New Zealand: http://www.oracle.com/ - Pythian: http://www.pythian.com/ - Enterprise IT: http://www.enterpriseit.co.nz/ Cameo appearances are for fun, not an endorsement of the content of this video.
Views: 3282 ORACLE-BASE.com
Oracle 12C New Feature JSON Functions in SQL
 
12:43
oracle 12c new features How to generate JSON document from SQL itself? This video helps you in writing SQL to generate JSON document from oracle database. oracle 12c new features for developers
Views: 554 Siva Academy
Conceptual Introduction to Pipelining
 
07:20
A brief introduction to the concept of pipelining, using the laundry analogy, and then analyzing it to understand what pipelining does and does not achieve.
Views: 46982 CompArchIllinois
Oracle regular expression part 1 regexp like
 
12:26
Oracle SQL PLSQL and Unix Shell Scripting
Views: 12313 Sridhar Raghavan
Oracle interview question : Can we use DML and DDL statements inside function?
 
06:49
Oracle interview question : Can we use DML and DDL statements inside function? List of all the SQL and PLSQL interview questions @ https://easy-learning-tech.blogspot.com/p/oracle-sql-plsql-interview-questions.html
Views: 2099 Siva Academy
Top PL/SQL Tips In Just One Hour
 
01:00:53
Here's a video I recorded of a webcast to a team of developers who had one hour to spare to learn about some PL/SQL best practices. I offer tips on using compile time warnings, avoiding hard-coding/repetition, using nested subprograms and in the performance arena, lightning fast coverage of FORALL, function result cache, NOCOPY and PRAGMA UDF. Fun stuff and here's the guide: 03:00 Compile-time warnings 16:25 Don’t repeat anything 21:15 Tips on writing SQL in PL/SQL 24:50 Avoid hard-coding of formulas 28:35 Keep executable sections tiny 35:15 Avoid row-by-row processing 42:10 Function result cache 54:28 NOCOPY parameter hint 56:02 Optimizing user-defined function execution in SQL Files referenced in presentation may be found at http://www.oracle.com/webfolder/technetwork/tutorials/plsql/sfdemo.zip. But for the latest set of PL/SQL scripts, go to LiveSQL.oracle.com and search by keywords (forall, nocopy, etc.). More on PL/SQL at my blog https://stevenfeuersteinonplsql.blogspot.com PL/SQL quizzes, workouts and classes at https://devgym.oracle.com ======================================== 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.
Pipeline function
 
04:06
PL SQL ORACLE
Views: 17 Techie IT
Oracle LISTAGG Function
 
04:57
https://www.databasestar.com/oracle-listagg/ The Oracle LISTAGG function allows you to aggregate or combine string values from multiple rows into a single row. For example, it turns this data: FIRST_NAME Adam Brad Carrie Into this data: FIRST_NAME Adam, Brad, Carrie The same data is shown, but it’s in one row and not multiple. It’s a valuable string manipulation function, and once you know what it is and how it works, you’ll be able to use it in your queries as needed. So what does it look like? The function is: LISTAGG ( measure_expr [, delimiter]) WITHIN GROUP (order_by_clause) [OVER query_partition_clause] These parameters are: measure_expr: This is a column or expression that you want to concatenate the values of. In the example above, it was the first_name column. Mandatory. delimiter: This is the character between each of the measure_expr values. Optional, the default is a comma. order_by_clause: This is the order that the values from the measure_expr are listed. Mandatory. query_partition_clause: This allows you to use LISTAGG as an analytic function, allowing you to show LISTAGG in groups for different rows. One thing to be aware of is that the output of the Oracle LISTAGG function is limited to 4,000 bytes. If you get more than this, you’ll receive an error. The most common way around this that I’ve seen is to write a custom function and use a CLOB. Watch the video to find out more and see some examples. For more information about the Oracle LISTAGG function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-listagg/
Views: 3544 Database Star
Calling PL/SQL Functions From SQL
 
57:06
Isn't it great how you "extend" Oracle SQL by calling your own user-defined PL/SQL functions from within SQL statements? Yes, it really is nice, but there are things you need to know about and take into consideration, from read-consistency to optimizer nuances. Chris Saxon gave an overview of the key issues from performance to correctness. Highlights include: 03:30 - performance comparison of plain SQL vs. calling PL/SQL function 04:30 - SQL to PL/SQL context switches; what they are and how they affect performance 06:10 - Techniques to make calling PL/SQL from SQL faster: scalar subquery caching, deterministic keyword, function result cache, pragma UDF 14:00 - Performance comparison of these options 21:20 - Performance comparison when calling non-deterministic functions 35:30 - The danger when you have SQL that calls PL/SQL that calls SQL 41:30 - Calling PL/SQL in SQL dos and don'ts 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/ Oracle Developers portal: https://developer.oracle.com/ Sign up for an Oracle Cloud trial: https://cloud.oracle.com/en_US/tryit
Views: 714 Oracle Developers
CONCAT & PIPE "||" Operators in Oracle | Oracle Tutorials for Beginners
 
07:13
CONCAT & PIPE "||" Operators in Oracle | Oracle Tutorials for Beginners Oracle Tutorials for Beginners CONCAT Operators in Oracle SQL CONCAT Operators in Oracle Database CONCAT Operators in Oracle SQL Database || Operator in Oracle concatenate in oracle sql developer oracle concatenate columns with space oracle concatenate rows into string oracle concatenate string and number oracle concatenate all columns into string oracle concatenate columns with comma using concat function in oracle concatenate function in oracle 11g concatenate in oracle sql developer oracle sql concatenate column values concatenation operator in oracle concatenation operator in sql server oracle concatenate columns with space oracle concatenate string and number oracle concatenate rows into string concatenate in oracle sql query concatenate sql query concat sql server 2008 sql concatenate columns concatenate sql oracle sql concatenate rows mysql concatenate string sql concatenate string and int sql concatenate column values
Views: 1213 Oracle PL/SQL World
APPROX_COUNT_DISTINCT Function in Oracle Database 11g and 12c
 
02:24
This video demonstrates how to quickly improve the performance of calculating the number of distinct values using the APPROX_COUNT_DISTINCT function. For more information see: https://oracle-base.com/articles/12c/approx-count-distinct-12cr1 Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Kris Rice Blog: http://krisrice.blogspot.com/ Twitter: https://twitter.com/krisrice Cameo appearances are for fun, not an endorsement of the content of this video.
Views: 783 ORACLE-BASE.com
Wrapping Oracle PL/SQL code
 
08:24
This video tutorial demonstrates the wrap utility of oracle.This utility can be used to wrap (encode) our plain text pl/sql code so that other developers cannot make changes to it, and we can keep our business logic and patent code safe through encoding. This video tutorial explains the same with a very easy example. and also talks about the advantages and disadvantages associated with the wrap utility.
Views: 2494 Kishan Mashru
Return multiple values from function in PLSQL
 
11:01
To return multiple value from a function table type objects are used.
Views: 6218 Abhaya Kumar Behera
PL/SQL tutorial 38: Introduction to PL/SQL functions in Oracle Database
 
05:10
PL/SQL tutorial for beginners Introduction to PL/SQL functions in Oracle Database by Manish Sharma ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/introduction-to-plsql-function Previous Tutorial ► Blocks in Oracle Database https://youtu.be/rbarR4_gaH8 ► ------------------------------------------------------------------------- ►►►Let's Get Free Uber Cab◄◄◄ Use Referral Code UberRebellionRider and get $20 free for your first ride. ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ ___Facebook Official Page___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL, MY VIEWERS AND SUBSCRIBERS
Views: 55218 Manish Sharma
SQL: Extract function
 
03:38
In this tutorial, you'll learn how to make use of extract function. PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 4792 radhikaravikumar
PL/SQL: Sysrefcoursor
 
08:07
In this tutorial, you'll learn how to make us of sys_refcursor PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 7008 radhikaravikumar
Chapter 21 - Pipeline Functions.mov
 
04:16
Companion content for "Learn Windows PowerShell in a Month of Lunches"
Views: 11994 Don Jones
Oracle Pivot clause
 
07:44
oracle pivot example http://easy-learning-tech.blogspot.in/2018/05/pivot-on-sql.html
Views: 2207 Siva Academy
PL/SQL Collections
 
58:19
Held on August 7 2018 Collections are PL/SQL's version of arrays and there are three types: associative arrays, nested tables, varrays. They are used in many performance features of PL/SQL, such as bulk processing, as well as table functions. Steven Feuerstein uses them all the time and thinks you should, too. He kicked off this Office Hours with some of his favorite collections features/usages, and then he and Chris Saxon answered questions on measuring PGA, executing DML in parallel, and more. 2:30 Steven's favorite collection things 3:20 First a little quiz! 7:56 Banish row-by-row SQL processing 14:06 String-indexed collections 17:19 Nested collections 20:42 Table functions 26:18 Q&A 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/ Oracle Developers portal: https://developer.oracle.com/ Sign up for an Oracle Cloud trial: https://cloud.oracle.com/en_US/tryit music: bensound.com
Views: 3106 Oracle Developers
FUNCTIONS IN ORACLE PL/SQL (basic to advance examples)
 
19:50
This video is to understand how to create an oracle pl/sql function, the video demonstrates the use of in, out and in out parameter types. The video also explains on how to call a function from a pl/sql block and from a select statement.
Views: 4918 Kishan Mashru
Function Calls From SQL  Pipelined Table Functions
 
03:48
Function from SQL pipeline table
Views: 515 Gees info
Oracle Function Pipelined
 
13:21
what is oracle PIPELINED FUNCTION
Views: 559 Gees info
PL-SQL Functions, How to Create PL SQL Function using Table in Oracle 11g Database
 
11:07
PL-SQL Functions, How to Create PL SQL Function using Table in Oracle 11g Database PL-SQL tutorial for Beginners in Hindi and English
Learn Oracle SQL : The Hierarchical Query Clause
 
11:19
http://bit.ly/oracle-sql-course | Get the complete course today. Learn Oracle SQL : The Hierarchical Query Clause: In this video, I show you how to use the Hierarchical Query Clause in Oracle SQL to build a basic hierarchical query. This is an excerpt of the course "The Ultimate Oracle SQL Course" which you can get at a heavily discounted price here: http://bit.ly/oracle-sql-course ================ You can find additional Oracle SQL related articles and educational content in my blog here: http://standout-dev.com/
Views: 10952 Oracle SQL
Getting Started with PL/SQL Table Functions 3: Streaming Table Functions
 
16:39
Streaming table functions are functions executed in the FROM clause of a query as part of a sequence of data transformations, all occurring within a single SQL statement. This video shows how to define a streaming table function and use it in Oracle SQL. Part of the Getting Started with PL/SQL Table Functions class at the Oracle Dev Gym: https://devgym.oracle.com/pls/apex/dg/class/pl-sql-table-functions.html ======================================== 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.
Webinar: Ten (Other) Top Tips for Improving PL/SQL Performance
 
01:08:03
Bulk processing (FORALL and BULK COLLECT), along with the function result cache, are the "big ticket" items when it comes to performance optimization with PL/SQL. But there's still more we can do to tweak our code for even better response times for our users. This third webast in the series starts with the automatic compiler optimization, showcases the extraordinary speediness of PGA data manipulation (a.k.a., package variables), and demonstrates the effect of the simple NOCOPY hint. We finish up with an introduction to pipelined table functions and some thoughts on optimizing your algorithms.
Views: 11017 ODTUG
SQL Magic: Dynamic Pivot, Polymorphic Table Functions and More
 
32:18
In October's session, Chris Saxon covered SQL magic, including the following highlights: - 0:50 - how to find table name for index (sub)partitons from *_ind_(sub)partitions - 2:00 - SQL Magic! the dynamic pivot update; converting rows & columns in a table via an update statement - 8:30 - Polymorphic table functions; the describe function & fetch_rows procedure; PTFs and the optimizer; examples on LiveSQL.oracle.com. 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. Music by bensound.com https://asktom.oracle.com/ Oracle Developers portal: https://developer.oracle.com/ Sign up for an Oracle Cloud trial: https://cloud.oracle.com/en_US/tryit Music by bensound.com
Views: 555 Oracle Developers
Using Pivot clause in Oracle  PLSQL.
 
08:51
Pivot is a wonderful feature in Oracle which helps you your aggregate based sql results to be transformed from row to column where you can put your group based columns to display it's aggregate value into columns.
Views: 4093 Subhroneel Ganguly
Oracle CAST Function
 
03:23
https://www.databasestar.com/oracle-cast/ The Oracle CAST function allows you to convert one data type to another. It’s similar to the TO_NUMBER, TO_DATE, and TO_CHAR functions, but allows for more functionality, including converting to many other data types. The syntax of the CAST function is: CAST( {expr | MULTISET (subquery) } AS type_name ) The structure of this function is different to other functions, because it uses the word AS to separate parameters rather than a comma. You can run this function like many other functions, on a single row, which would look like this: CAST( expr AS type_name ) Or, you can run it as though it’s a subquery, using the MULTISET feature: CAST( MULTISET (subquery) AS type_name ) The parameters of the CAST function are: - expr (mandatory choice): This is the value or expression that is to be converted to another data type. - MULTISET (optional): This keyword indicates that the subquery results will return multiple rows, and are then CAST into a collection value. If this is omitted, and the subquery returns multiple rows, it will only return a single row. - subquery (mandatory choice): This is the subquery that can be run to be converted into a collection data type. - type_name (mandatory): This is the Oracle data type that the expr or subquery will be converted to. There are several data types that are compatible with the CAST function, both for converting from and to. You can find the full list in the article mentioned below. For more information about the Oracle CAST function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-cast/
Views: 2546 Database Star
Pipeline Table Functions por Marcelo Ochoa
 
07:49
Marcelo Ochoa nos explica en esta presentacion esta util función de la base de datos Oracle. Más información: http://www.oracle.com/technetwork/es http://twitter.com/oracleotn
Views: 2204 OracleAmericaLatina
Ask TOM Office Hours: Fetching Single Rows in PL/SQL
 
33:25
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
Views: 580 Oracle Developers
LISTAGG Analytic Function in Oracle Database
 
03:01
This video gives a quick demonstration of the LISTAGG Analytic function introduced in Oracle database 11g Release 2. For more information see: LISTAGG Analytic Function in 11g Release 2 https://oracle-base.com/articles/misc/string-aggregation-techniques#listagg LISTAGG Function Enhancements in Oracle Database 12c Release 2 (12.2) https://oracle-base.com/articles/12c/listagg-function-enhancements-12cr2 LISTAGG DISTINCT in Oracle Database 19c https://oracle-base.com/articles/19c/listagg-distinct-19c Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Michael Rainey : Blog: https://medium.com/@mRainey Twitter : https://twitter.com/mRainey Cameo appearances are for fun, not an endorsement of the content of this video. All trademarks, product names and logos are the property of their respective owners.
Views: 593 ORACLE-BASE.com
Oracle LISTAGG Function Example and Demonstration
 
08:47
In this lesson Geoff dives into the explanation and demonstration of the LISTAGG aggregate function. See all the lessons in this tutorial - FREE - at http://www.skillbuilders.com/advanced-aggregations-with-oracle-sql.
Views: 2286 SkillBuilders
Oracle PL SQL interview question RANK and DENSE RANK as Aggregate Function and Analytical Function
 
09:08
Oracle PL SQL interview question RANK and DENSE RANK as Aggregate Function and Analytical Function Click here to subscribe to my youtube channel http://www.youtube.com/channel/UCBt6VrxAIb5jLh9HLDcdwtQ?sub_confirmation=1 Oracle Interview questions and Answers at https://www.youtube.com/playlist?list=PLb1qVSx1k1Vr0v4wVyvT3GEuA0J0M4xBm Oracle 18C New features at https://www.youtube.com/playlist?list=PLb1qVSx1k1Vqe06V1tIBcvnslMPWX69bW Oracle 12C New features at https://www.youtube.com/playlist?list=PLb1qVSx1k1VqM1u2IHWzZIgziqejl6wx- Oracle PLSQL records and collections at https://www.youtube.com/playlist?list=PLb1qVSx1k1VpAFTXopXvAh_D3PLcTntdm
Views: 1046 Siva Academy
Oracle Records
 
06:01
This video will give basic understanding of Oracle Records, why records used, how to use, and importance of Oracle records.
Views: 253 amit wadbude
Oracle Function Result Cache | Steven Feuerstein
 
02:35
Returning for his seventh 2 Minute Tech Tip, Oracle architect and "Oracle PL/SQL Programming 6e" author Steven Feuerstein delivers the details on the Function Result Cache, a feature introduced in Oracle Database 11g that can add a performance boost to your applications.
Views: 1087 ArchBeat Archive
Return sys_refcursor through function in PL/SQL
 
08:13
How to return a set of Table row data through function using sys_refcursor in PL/SQL A simple tutorial to demonstrate using ref cursor in pl sql function opening and return ref cursor.
Views: 3163 Subhroneel Ganguly