Oracle PL SQL interview question CURSOR Vs COLLECTION

  Рет қаралды 58,342

Siva Academy

Siva Academy

Күн бұрын

Пікірлер: 67
@arunrocketz
@arunrocketz 4 жыл бұрын
YOU ARE A TREASURE OF OUR COUNTRY.. YOU SHOULD BE PROTECTED.. Continue ur good work
@SivaAcademy
@SivaAcademy 4 жыл бұрын
It's my pleasure,Thank you
@ravikhanna29
@ravikhanna29 4 жыл бұрын
Hi Siva, By seeing above video i am able to analyze the scenario where collection is better than cursor. So Could you please provide any scenario where usage of cursor is better than collection.
@vineetadola1547
@vineetadola1547 2 жыл бұрын
One doubt: here you use bulk collect for storing the data into nested table .... But usually we can use extend function in collection and save the data right?? What is the use of bulk collect over extend function??
@SreeramReddyB
@SreeramReddyB 5 жыл бұрын
Can we directly assign to out parameter from select bulk collect into statement ?
@kunuturuaravindareddy5580
@kunuturuaravindareddy5580 3 жыл бұрын
simply superb clear and easily understandable
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Thank you bro
@uditkumar-vg5hb
@uditkumar-vg5hb Жыл бұрын
Hi Siva, u are explaining with python ..can u start and provide the learning videos of python as well. THANKYOU🙂
@suchitapatil4525
@suchitapatil4525 3 жыл бұрын
Hi sir please plz explain when we should use package and procedures
@photomyste3279
@photomyste3279 5 жыл бұрын
Here why we don't use extend in nested array
@swarnali11
@swarnali11 4 ай бұрын
Very good detail explanation ...Thanks a lot :)
@SivaAcademy
@SivaAcademy 4 ай бұрын
Thank you
@poojalonibarhanpure2212
@poojalonibarhanpure2212 2 жыл бұрын
Hi sir, you have called a get emp list proc from python n fetched the row. As the cursor is open in oracle procedure doesn't it need to be closed? If yes then how to close the ref cursor. As it gave me a security concern that the cursor is not closed
@ankitvarshney15
@ankitvarshney15 2 жыл бұрын
I think, it is getting closed in Python code... cur.close()
@mathankumar2228
@mathankumar2228 5 жыл бұрын
Then y we use ref_cur as a out parameter while Collection is doing it in single fetch?
@SivaAcademy
@SivaAcademy 5 жыл бұрын
If you have limited data, then you can send via collection, if you have huge amount of data, then it's not recommended to return as collection.... Via ref cursor we are just returning the pointer, not the data
@mathankumar2228
@mathankumar2228 5 жыл бұрын
@@SivaAcademy ok thank you sir
@gsraj511
@gsraj511 2 жыл бұрын
Thanks Siva for your detailed explanation...
@SivaAcademy
@SivaAcademy 2 жыл бұрын
My pleasure 😊
@ajeet382
@ajeet382 3 ай бұрын
awesome work man
@radhachikkarangappa4132
@radhachikkarangappa4132 3 жыл бұрын
Can you please give a session on Explain plan and Oracle hints
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Sure please stay tuned
@priyankadesai9848
@priyankadesai9848 3 жыл бұрын
Please sir
@zramzscinece_tech5310
@zramzscinece_tech5310 4 жыл бұрын
Your explanations are excellent, Please keep posting PLSQL related videos.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thank you,Sure, Please stay tuned
@bhushanpalse516
@bhushanpalse516 3 жыл бұрын
Excellent Explanation...sir
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome bro
@srarts6990
@srarts6990 4 жыл бұрын
Can we create a materialized view on two different schema tables..?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Yes you can
@srarts6990
@srarts6990 4 жыл бұрын
@@SivaAcademy Write a procedure to create views for all tables at a time? I got this question from one of interview. Will you help me on that sir..
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Definitely Sai, I am preparing view related interview question, mostly I will be posting this week, I will add this question also as part of that, please stay tuned 👍
@rahulbadhe5930
@rahulbadhe5930 5 жыл бұрын
nice session sir,, thank you so much.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Rahul, Welcome, sure, will be starting performance videos, due to my personal work, its getting delayed, however, i will definitely will try to start the new series on performance soon, please stay tuned.
@mathankumar2228
@mathankumar2228 5 жыл бұрын
So based on our business requirement we need to choose whether to use refcursor or collection.. am I right sir? Or can we use collection as a outparameter to front end always? So that the db usage will be reduced
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Yes perfectly correct 👍👍
@lakshmanakumart2228
@lakshmanakumart2228 5 жыл бұрын
if oracle forms 12c and Reports 12c can work with Oracle 11g DB?
@SivaAcademy
@SivaAcademy 5 жыл бұрын
I am not sure about version compatibility between dB and forms
@pavankumar3597
@pavankumar3597 4 жыл бұрын
hi sir please make full video on dbms_monitor package , how to use it , what is advantage off it and how to call it
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure Pavan, Please stay tuned.
@vinayakavini5334
@vinayakavini5334 3 жыл бұрын
Super explanation. I have one query. When do we use cursors and insert script?
@rabishankarbhagat2558
@rabishankarbhagat2558 3 жыл бұрын
Excellent explanation sir
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome bro 💐
@nileshdivate1
@nileshdivate1 3 жыл бұрын
Hi..But index will start from 0 in collection
@gurumoorthysivakolunthu9878
@gurumoorthysivakolunthu9878 2 жыл бұрын
Hi sir... Thanks a lot for your effort.... 1 doubt, Sir -- while using refcursor as out parameter... -- we are not closing the cursor both in procedure and in the calling anonymous block... ... Will the cursor closes automatically ...?
@ankitvarshney15
@ankitvarshney15 2 жыл бұрын
I think, it is getting closed in Python code... cur.close()
@shaheenshaikh6701
@shaheenshaikh6701 5 жыл бұрын
Record bhi hai na sir to hold more than 1 value
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Shaheen, yeah, however record cannot hold more than one row...
@padmapriya1262
@padmapriya1262 3 жыл бұрын
Hi sir thanks for the detailed explanation. Can u please do one video for in which scenario we should use each plsql concepts
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Sure please stay tuned
@jagadishdogga4886
@jagadishdogga4886 5 жыл бұрын
Sir need difference between ref cursor and collections
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Jagasidh, I have covered little but the same video series, however, i will post explicitly on the difference between cursor and collection soon, please stay tuned.
@WorldEye88
@WorldEye88 5 жыл бұрын
So collections are more efficient for the DB resources? Thank you. Very nice
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Not always... Depends on data
@WorldEye88
@WorldEye88 5 жыл бұрын
Thank you.
@sridhartamilselvan
@sridhartamilselvan 5 жыл бұрын
Thanks for this topic sir... I got some ideas from it.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Sridhar, Its my pleasure.. :-)
@rahulbadhe5930
@rahulbadhe5930 5 жыл бұрын
sir make videos of performance tuning...
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Rahul, sure...sorry for the delay..
@priyankadesai9848
@priyankadesai9848 3 жыл бұрын
Thank u for this video
@SivaAcademy
@SivaAcademy 3 жыл бұрын
My pleasure
@kdeepika6482
@kdeepika6482 3 жыл бұрын
Wonderful sir ur
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Thank you
@manishsahu2740
@manishsahu2740 5 жыл бұрын
Very Nice learning through ur video. Thums up!
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Thank you 🙏
@keerthin9362
@keerthin9362 4 жыл бұрын
Hi sir, Could you please explain when to use which type of collection in Oracle with examples?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Please look into this video, kzbin.info/www/bejne/imaqpmWbltZmZ80
Oracle PL SQL interview question CURSOR Vs REFCURSOR
17:43
Siva Academy
Рет қаралды 42 М.
2 PLSQL Performance Tuning Bulk Collect Part 1
11:26
Siva Academy
Рет қаралды 70 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Oracle PL SQL interview question | SQL to Delete duplicate records
17:27
Oracle PL SQL interview question Explain Cursor Attributes
18:11
Siva Academy
Рет қаралды 48 М.
The 25 SQL Questions You MUST Know for Data Analyst Interviews
32:47
KSR Datavizon
Рет қаралды 251 М.
Pagination in MySQL - offset vs. cursor
13:20
PlanetScale
Рет қаралды 61 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,1 МЛН