PL/SQL tutorial 67: PL/SQL Ref Cursors In Oracle Database by Manish Sharma
Key Takeaways
Explains PL/SQL Ref Cursors in Oracle Database, including strong and weak Ref Cursors
Full Transcript
Musab internet i am manish from rebellionrider.com and i am back once again with another PL sequel tutorial in today's tutorial we will learn what PL sequel ref cursors are in Oracle database a little bit knowledge of database cursors will be required for the better understanding of this tutorial fortunately we already have a series covering the concepts of cursors you can find that the link as always is in the description I suggest you to watch those tutorials so without further wasting your time let's start this PL sequel tutorial and learn what are ref cursors in Oracle database ref cursor is an acronym of reference to occur so it is a PL sequel datatype using which you can declare a special type of variable called cursor variable unlike static cursors which we have already discussed on this channel a single cursor variable can be associated with multiple select statements in a single PL sequel block on the other hand a static cursor can only access single select statement at a time cursor variables and ref cursors are two interdependent topics so do not get confused with them just take them as in Oracle database cursor variables exist in the form of ref cursors let's go ahead and see how many types of ref cursors we have in Oracle database there are two types of ref curses in Oracle database these are strong ref cursors and we graph cursors strong ref cursors any ref cursor which has fixed return type is called strong ref cursor let's see the syntax of a strong ref cursor and here it is the return type of a cursor must always be of record type only it can either be a record structure of a table or a user-defined record structure you can refer PL sequel tutorial 40 41 and 42 to learn more about record datatypes in Oracle database weak ref cursors in contrast to strong ref cursors weak ref cursors are those which do not have any return type in simple words those ref cursors which do not have fixed return type are called V Kraft cursors such cursors are most frequently used for F cursors as they are open to all select statements whereas strong ref cursors can only be used with those select statements that returns the result whose data type matches with the one that you have fixed during the strong cursors declaration let's take a look at the syntax of we craft cursors in Oracle database except from the missing written clause the syntax is pretty much similar to the strong graph cursors apart from strong and we graph cursors Oracle database also provides us with one more type of special cursor variable before talking about that I just want to take a quick second to ask you to give this video a thumbs up and if you are new here then do make sure to subscribe you can also help others in learning as well as help us and our channel in growing by sharing this video on your social media thanks now let's come back to our topic so we are talking about that special cursor variable provided by or a it is known by the name of sis RAF cursor since RAF cursor is an oracle built-in cursor variable it declares a week RAF cursor and dad too without declaring the RAF pointer type we will see what that means when we will do a separate video on sis RAF cursor till then stay tuned and do subscribe because in upcoming videos we will do the examples of strong and V Graf courses as well as sis RAF courses also to make sure to like and share this video this is a quick introduction to PL sequel RAF cursors / cursor variable in Oracle database thanks for watching this is Manish from rebellion trader.com
Original Description
RebellionRider.com presents introduction to PL/SQL Ref Cursors / Cursor Variable in Oracle Database by Manish Sharma
------------------------------------------------------------------------
►►►LINKS◄◄◄
Blog: https://www.rebellionrider.com/introduction-to-pl-sql-ref-cursors-in-oracle-database/
Previous Tutorial
►Database Cursor (Playlist): http://bit.ly/2x0JGXz
► Record Datatype (Playlist): http://bit.ly/2xkcHOr
-------------------------------------------------------------------------
►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
http://instagram.com/rebellionrider
https://plus.google.com/+Rebellionrider
http://in.linkedin.com/in/mannbhardwaj/
___Facebook Official Page of Manish Sharma___
https://www.facebook.com/TheRebellionRider/
___Facebook Official Page of RebellionRider.com___
https://www.facebook.com/RebellionRider.official/
You can also Email me at
for E-mail address please check the 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
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Manish Sharma · Manish Sharma · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Oracle Database tutorials 1: How to install Oracle Database 11g on windows 7
Manish Sharma
Oracle Database tutorials 2:How To install SQL Developer on windows 7
Manish Sharma
Oracle Database tutorials 3:How to enable Line numbers in SQL Developer.
Manish Sharma
Oracle Database tutorials 4: database connectivity using SQL developer and command prompt
Manish Sharma
Oracle Database tutorials 5: how to Fetch Data using SELECT - SQL statement by Manish Sharma
Manish Sharma
Oracle Database11g tutorials 6 | | How to use Concatenation operator, character String
Manish Sharma
Oracle Database11g tutorials 7 | |SQL DISTINCT keyword || SQL tutorials
Manish Sharma
Canon EOS 600D 2 lens kit/Canon rebell EOS T3i 2 lens kit Unboxing
Manish Sharma
First look: ORACLE CERTIFIED ASSOCIATE (OCA) CERTIFICATE - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Oracle Database11g tutorials 8 || SQL DISTINCT with multiple columns |SQL Distinct with Two columns
Manish Sharma
Oracle Database11g tutorials 9 || What is archive log mode and how to enable archive log mode
Manish Sharma
Oracle Database11g tutorials 10 || SQL Single Row Function (SQL Functions )
Manish Sharma
Oracle Database11g tutorials 11: SQL case manipulation function in Oracle Database
Manish Sharma
how to add channel trailer and section on your youtube channel 2014
Manish Sharma
Oracle Database11g tutorials 12 || SQL Concat Function - SQL character manipulation function
Manish Sharma
Oracle Database11g tutorials 13 || SQL substr function / SQL substring function
Manish Sharma
Oracle Database11g tutorials 14 : How to CREATE TABLE using sql developer and command prompt
Manish Sharma
SQL tutorials 15 || How To CREATE TABLE using enterprise manager 11g
Manish Sharma
Oracle Database11g tutorials 16: How to uninstall oracle 11g from windows 7 64 bit
Manish Sharma
ORACLE CERTIFIED PROFESSIONAL(OCP) CERTIFICATE First look - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Plantronics audio 655 USB headset with Mic Unboxing and Review and Plantronics audio 655 Mic test
Manish Sharma
SQL tutorials 17: SQL Primary Key constraint, Drop primary Key
Manish Sharma
SQL tutorials 18: SQL Foreign Key Constraint By Manish Sharma
Manish Sharma
SQL tutorial 19: ON DELETE SET NULL clause of Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorials 20: On Delete Cascade Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 21: How To Rename Table in SQL using ALTER TABLE statement By Manish Sharma
Manish Sharma
SQL tutorial 22: How to Add / Delete column from an existing table using alter table
Manish Sharma
SQL tutorial 23: Rename and Modify Column Using Alter Table By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 24 :SQLJoins- Natural Join With ON and USING clause By Manish/Rebellionrider
Manish Sharma
Oracle Database11g tutorials 25: How to install Oracle Database 11g Express Edition R2 on Windows 7
Manish Sharma
SQL tutorial 26: Introduction to SQL Joins in Oracle Database
Manish Sharma
Vidcon 2014 YouTube Fan Funding: How to enable fan funding on YouTube Channel
Manish Sharma
SQL tutorial 27: Right Outer Join in SQL by Manish Sharma for RebellionRider
Manish Sharma
SQL tutorial 28: Left Outer Join By Manish Sharma / RebellionRider
Manish Sharma
SQL tutorial 29: Full Outer Join with example By Manish Sharma/ RebellionRider
Manish Sharma
SQL tutorial 30: Inner Join In SQL by Manish Sharma/RebellionRider
Manish Sharma
SQL tutorial 31 : SQL Cross Join In Oracle Database By Manish Sharma from RebellionRider
Manish Sharma
SQL tutorial 32: How To Insert Data into a Table Using SQL Developer
Manish Sharma
SQL tutorial 33:How To Insert Data into a Table Using SQL INSERT INTO dml statement
Manish Sharma
SQL tutorial 34: How to copy /Insert data into a table from another table using INSERT INTO SELECT
Manish Sharma
SQL tutorial 35: DELETE and TRUNCATE how to delete data from a table
Manish Sharma
SQL tutorial 36: how to create database using database configuration assistant DBCA
Manish Sharma
SQL tutorial 37: How to create NEW USER account using Create User statement in Oracle database
Manish Sharma
SQL tutorial 38: How to create user using SQL Developer in Oracle database
Manish Sharma
SQL tutorial 39: How to create user in oracle using Enterprise Manager
Manish Sharma
SQL tutorial 40: DBA Trick, How to drop a user when it is connected to the database
Manish Sharma
Motorola Moto G 2nd Generation / G2 Unboxing and Review
Manish Sharma
SQL tutorial 41: How to UNLOCK USER in oracle Database
Manish Sharma
SQL tutorial 42: How to Unlock user using SQL Developer By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 43: How to create an EXTERNAL USER in oracle database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 44: How to import data from Microsoft Excel to Oracle Database using SQL Developer
Manish Sharma
SQL tutorial 45: Introduction to user Privileges in Oracle Database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 46: What are System Privileges & How To Grant them using Data Control Language
Manish Sharma
SQL tutorial 47: How to Grant Object Privileges With Grant Option in Oracle Database
Manish Sharma
SQL tutorial 48: How to create Roles in Oracle Database
Manish Sharma
SQL tutorial 49: CASE - Simple Case Expression in Oracle Database (1/2)
Manish Sharma
SQL tutorial 50: CASE - Searched Case Expression In Oracle (2/2)
Manish Sharma
SQL tutorial 51: DECODE function in Oracle Database By Manish Sharma (RebellionRider)
Manish Sharma
Oracle Database Tutorial 52 : Data Pump expdp - How to Export full database using expdp
Manish Sharma
Oracle Database Tutorial 53 : Data pump expdp - How to Export tablespace in Oracle Database
Manish Sharma
More on: SQL Analytics
View skill →Related Reads
📰
📰
📰
📰
Why Synthetic Healthcare Data Isn’t Enough for Commercial Analytics
Medium · Data Science
Why Synthetic Healthcare Data Isn’t Enough for Commercial Analytics
Medium · Python
Scraping Indian government open data in 2026: what actually works
Dev.to · Manideep Chittineni
2026 Enterprise Data Recovery: What IT Teams Should Look For
Medium · AI
🎓
Tutor Explanation
DeepCamp AI