Oracle Interview Question - Can we use OUT and INOUT parameter in function

  Рет қаралды 105,768

Siva Academy

Siva Academy

Күн бұрын

Oracle Interview Question - Can we use OUT and INOUT parameter in function?
List of all the SQL and PLSQL interview questions @ sivakacademy.b...

Пікірлер: 117
@anpsir9652
@anpsir9652 5 жыл бұрын
You are simply amazing. Your communication is also awesome
@SivaAcademy
@SivaAcademy 5 жыл бұрын
It's my pleasure,Thank you so much :-)
@ashokb1556
@ashokb1556 5 жыл бұрын
what a explanation Siva Academy just phenomenal....
@SivaAcademy
@SivaAcademy 5 жыл бұрын
🙏🙏🙏🙏
@WorldEye88
@WorldEye88 5 жыл бұрын
Very useful yet dense topic my friend. I like more the part where you show the collection and ref cursor use. That is clever. Thank you.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Welcome 🙏🙏
@vijeyatanag8685
@vijeyatanag8685 5 жыл бұрын
Super job ..very detailed explanations thanks Siva keep the knowledge flow going on ...I learn something new 😀
@dhananjaynandgaonkar
@dhananjaynandgaonkar 2 жыл бұрын
lots of love hats off to you
@SivaAcademy
@SivaAcademy 2 жыл бұрын
🙏🙏🙏💐Welcome bro
@pankajkharade6936
@pankajkharade6936 4 жыл бұрын
Best teaching method with live examples
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thanks bro 🙏
@thiru601mbt6
@thiru601mbt6 2 жыл бұрын
Great job...@ Your inputs are making us more confidents to learn more. Once again thanks
@SivaAcademy
@SivaAcademy 2 жыл бұрын
My pleasure bro
@sucharurani6834
@sucharurani6834 4 жыл бұрын
The explanation is really amazing and too much usefull ..Wants to learn in depth of performance tuning ,partition , algorithm of join in explan plan ,hints , optimiser ...Wants to know how it's happening internally ..
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure, please stay tuned for more in depth videos
@Tipsypie1
@Tipsypie1 6 жыл бұрын
great work sir. Really informative.
@SivaAcademy
@SivaAcademy 6 жыл бұрын
Thanks Shubhra Pandey :-)
@Tipsypie1
@Tipsypie1 6 жыл бұрын
@@SivaAcademy Can we have a concise and clear vdo like this one about Performance tuning.
@SivaAcademy
@SivaAcademy 6 жыл бұрын
@Shubhra Pandey, Sure, I am planning to start a new series on PLSQL and SQL performance tuning concepts. The scope of tuning concepts and methods are large., I will try my level best to make the learning easy and effective as much as possible. Stay tuned for tuning related videos... Thanks , Siva.
@venuchindam6062
@venuchindam6062 5 жыл бұрын
Knowledge is DEVINE... 💐
@SivaAcademy
@SivaAcademy 5 жыл бұрын
🙏🙏🙏
@VermontCA1864
@VermontCA1864 3 жыл бұрын
Great job Siva!👍👍Learned something new today. Thank you.
@SivaAcademy
@SivaAcademy 3 жыл бұрын
My pleasure bro
@sivapriyaj7955
@sivapriyaj7955 2 жыл бұрын
Excellent explanation that helps lot and easy to understand
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome
@niranjandhavalikar
@niranjandhavalikar 5 жыл бұрын
Thanks Siva for e.g. of INOUT parameter in function .
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Welcome bro 🙏
@gokulkannan9407
@gokulkannan9407 11 ай бұрын
Thank you for this session; it was very informative.
@SivaAcademy
@SivaAcademy 11 ай бұрын
Welcome bro
@omm139
@omm139 3 жыл бұрын
Really excellent explanation. Super Sir. Thanks so much
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome bro
@krishchait6106
@krishchait6106 4 жыл бұрын
Lv_namelist(lv_namelist.last() )= i... Can anyone explain this line? I know lv_namelist is a collection variable and lv_namelist.last means last value. But I am not able to gather the logic here... Please explain
@humayunhimu6045
@humayunhimu6045 Жыл бұрын
wonderful explanation
@SatyendraSingh-ul5iq
@SatyendraSingh-ul5iq 3 жыл бұрын
there is a 1 single record in a table but i want to populate the data 10 times. Please answer
@cambotourtech9237
@cambotourtech9237 4 жыл бұрын
Thank for your sharing.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome
@vinithab4828
@vinithab4828 8 ай бұрын
Just awesome
@manjunathreddy3484
@manjunathreddy3484 4 жыл бұрын
Thanks for your class about function! What is table function or Pipeline function Most of the interviews they ask about these function
@SivaAcademy
@SivaAcademy 4 жыл бұрын
sure, please stay tuned, its already part of my upcoming list, will try to post soon.
@manjunathreddy3484
@manjunathreddy3484 4 жыл бұрын
Thanks for your reply! I am waiting for your video.. Please explain where we can use this function in Realtime....
@poojagonla7824
@poojagonla7824 3 жыл бұрын
thankyou for examples .. worth watching
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Thank you
@shivpriyatate827
@shivpriyatate827 4 жыл бұрын
Good examples.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thank you
@shubhamsatyam3350
@shubhamsatyam3350 4 жыл бұрын
Sir i have a question related to sql please consider a scenario:- I have a table of employees working in different departments say emplyee E1 works in dept A,B,C,D,E,F E2 works in C,D,E,F E3 works in A,B,C Expected output is :- Return the details of employees only if that employee works in dept C and B For more clearity:- Since E1 works in dept C and B as one of their departments the query should give all the details of E1 including his other department details. Similarly E2 works in C dept but not in B so E2 data should not be returned. E3 works in both depts B and C so all his dept details should be returned.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Hi Shubhan, Whats the structure of table data? can you give me the sample data in row wise format?
@shubhamsatyam3350
@shubhamsatyam3350 4 жыл бұрын
Sample data:- Emp_id Emp_name Dept_no Joining_date 1 , scott,A,10-may-2018 1,scott,B,20-June-2018 1, scott,C,20-August-2019 1,scott,D,19-June-2020 2,tiger,C,12-May-2018 2,tiger,B,10-January-2017 2,tiger,D,19-September-2019 2,tiger,E,13-March-2019 2,tiger,F,10-October-2020 3,Sam,A,19-January-2016 3,Sam,C,09-October-2018 3,Sam,B,17-December-2019 3,Sam,D,01-June-2019 4, John,A,10-may-2018 4, John,E,31-March-2019 4, John,F,16-may-2016 4, John,G,12-March-2018 if the employee works in departments B and C, return all the department details related to that employee. Expected output:- 1, scott,A,10-may-2018 1,scott,B,20-June-2018 1, scott,C,20-August-2019 1,scott,D,19-June-2020 2,tiger,C,12-May-2018 2,tiger,B,10-January-2017 2,tiger,D,19-September-2019 2,tiger,E,13-March-2019 2,tiger,F,10-October-2020 3,Sam,A,19-January-2016 3,Sam,C,09-October-2018 3,Sam,B,17-December-2019 3,Sam,D,01-June-2019
@sameerahmad7592
@sameerahmad7592 4 жыл бұрын
Excellent Sir...
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thank you
@lakshman1216
@lakshman1216 3 жыл бұрын
hi can we pass a parameters to running program in plsql? is it possible.
@rohitkumar-bf9xe
@rohitkumar-bf9xe 3 жыл бұрын
please make a video on to create a function to take a number and display its square using inout ...
@anjaliasia5853
@anjaliasia5853 4 жыл бұрын
Thanks, you are doing good job.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thank you 🙏
@sankalpsaxena3195
@sankalpsaxena3195 4 жыл бұрын
Thanks Siva ..Nicely explained
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome bro 🙏
@SreeramReddyB
@SreeramReddyB 5 жыл бұрын
What if I use into keyword in select statement to store value of function return and use variables to get out parameter values ? Declare Outvar number; Retvar number; Begin Select fnsqcu(2,outvar) into retvar from dual; End Will this work ?
@tcguna
@tcguna 5 жыл бұрын
He covered this question @ 3:05.. Have a look bro.
@SAK-y6j
@SAK-y6j 5 жыл бұрын
Excellent!!
@amitajhariya9521
@amitajhariya9521 5 жыл бұрын
Hello sir , thanks you for making pl SQL learning videos it's really help. The please work on audio quality of video. Thank you so much.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Amita, thanks for your comment, yeah in recent videos I have corrected little, please let me know if it's quality is still not good
@amitajhariya9521
@amitajhariya9521 5 жыл бұрын
@@SivaAcademy The quality is good now😊
@saiswaroop3570
@saiswaroop3570 2 жыл бұрын
Sir can we multiple records using functions using record data type, and can bulk collect used with records?
@bharathipandian45
@bharathipandian45 3 жыл бұрын
Siva, need unix and sql plsqk production support interview questions
@shelkevikram
@shelkevikram 5 жыл бұрын
You are awesome.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Thank you so much :-)
@anjaliasia5853
@anjaliasia5853 4 жыл бұрын
Can you please explain about explain plan in query execution.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure please stay tuned for performing tuning videos, will explain there
@bharathipandian45
@bharathipandian45 5 жыл бұрын
Hi siva, what is type? Why we use it for?
@ManojKumar-il8vt
@ManojKumar-il8vt 5 жыл бұрын
Hi sir can u tell me can we call the dml & ddl statement inside the functions if yes then how & why it's not a gud practice to call dml inside function. Also share the diff between function & procedure ??
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Hi Majon, yes you can call, already posted on the same question, Please look into below mentioned videos kzbin.info/www/bejne/r6q1fmCmZ92ZkMU kzbin.info/www/bejne/eZzOepWpnsRmmcU
@abhijitmane9949
@abhijitmane9949 Жыл бұрын
Great , Thanks :)
@SivaAcademy
@SivaAcademy Жыл бұрын
Thank you
@debayannew5083
@debayannew5083 3 жыл бұрын
why we can't call any function with OUT/INOUT parameter from select statements??
@venkatasubbareddy7407
@venkatasubbareddy7407 3 жыл бұрын
1.can we call a procedure inside a function? 2.can function have DML statements?
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Yes, you can call procedure from function, also you can have DML statements in function also, however there are few restrictions, please look into this video kzbin.info/www/bejne/r6q1fmCmZ92ZkMU
@ramkumarj4216
@ramkumarj4216 3 жыл бұрын
Can you please provide the details of other sys objects like ODCIVARCHAR2LIST that can be used in for storing data temporarily.
@venkatasubbareddy7407
@venkatasubbareddy7407 3 жыл бұрын
how to add primary key constraint for a column which has already duplicate values?
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Please look into this video kzbin.info/www/bejne/iXfPnoihbq6InZo
@ankursrivastava4164
@ankursrivastava4164 4 жыл бұрын
Hello Siva,Thanks for all your videos.I have one confusion if possible can you please clear that? While explaining about return statement you return collection variable via return statement ,I did not understand the use of extend and last method there ?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Extend method is to allocate memory, and last method to get the subscript of last element
@vilasgaikwad4141
@vilasgaikwad4141 6 жыл бұрын
Can you please make videos on performance tuning interview questions
@SivaAcademy
@SivaAcademy 6 жыл бұрын
@Vilas, Thanks for your comment, Sure, Please stay tuned for performance related videos, will be posting soon.
@TinyTuber31
@TinyTuber31 4 жыл бұрын
Sir a video on oracle architecture please would be appreciated......mostly asked question in interviews....u explain so nicely....really helped me
@shankar-22440
@shankar-22440 3 жыл бұрын
Sir If we want to prepare the interview questions means your website have a 33 questions that is enough or either we want to study the 70 questions!!!!
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Hi Shankar, all questions are important, I just updated the link, thanks for letting me know.
@manishmanveer8867
@manishmanveer8867 3 жыл бұрын
find out the 3rd highest salary from table for each years fallowed by each department
@manoharreddybusupalli4771
@manoharreddybusupalli4771 Жыл бұрын
Hi sir, please provide oracle installation link and installation process video
@TinyTuber31
@TinyTuber31 4 жыл бұрын
can we have multiple out parameters in a function sir??
@SivaAcademy
@SivaAcademy 4 жыл бұрын
yes, you can have multiple out and INOUT parameters too
@Ganeshay-09
@Ganeshay-09 2 жыл бұрын
siva sir ... can we call function into procedure
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Yes Ganesh
@hello2439
@hello2439 5 жыл бұрын
then why we use procedure,when both proc and func gives multiple values?
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Though function return/OUT more than one more than one values, there are restrictions using such function sql.
@manochoco23
@manochoco23 4 жыл бұрын
I understood only key learning from this video. 😅
@mahendrababu5516
@mahendrababu5516 5 жыл бұрын
Can we pass the result sets as a collection to the java/dot net application from a function? Generally we will do it using sys_refcursor, If yes what is the best way among the two and what is the difference bw two methods?
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Mahendra, yes, you can pass the collection to java, will post a separate video on how to pass as parameter.
@mahendrababu5516
@mahendrababu5516 5 жыл бұрын
Siva Academy If yes which is the best way sys_refcursor or collection and why
@Ganeshay-09
@Ganeshay-09 3 жыл бұрын
Plzz increase ur voice in all vdos.. Plz explain loudly..
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Yes bro, hopefully recent videos are better
@ManojKumar-il8vt
@ManojKumar-il8vt 6 жыл бұрын
Nice
@SivaAcademy
@SivaAcademy 6 жыл бұрын
Thanks Manoj
@gautam26trivedi
@gautam26trivedi 5 жыл бұрын
hi shiva can I get yours videos on regular expressions
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Hi Gautam, I am yet to post on regular expression, please stay tuned
@gautam26trivedi
@gautam26trivedi 5 жыл бұрын
@@SivaAcademy please do it fast sir because waiting from long time.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Sure bro 👍
@shalinis6299
@shalinis6299 2 жыл бұрын
Hi sir, Can you make the video for UTL_FILE Concept in Plsql.
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Sure, please stay tuned
@KarthikRampur-ql2td
@KarthikRampur-ql2td 5 жыл бұрын
Does with clause support 12c only??
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Karthik, With clause is available from previous releases of oracle itself, however the "FUNCTION" support as part of with clause is available from 12c only, you can look into this video for more information about 12c with clause feature, kzbin.info/www/bejne/qHvYg4qsbNBgsNE Thanks, Siva
@gokulkannan9407
@gokulkannan9407 11 ай бұрын
PLS-00382: expression is of wrong type
@kristipatisurya2604
@kristipatisurya2604 4 жыл бұрын
WE WANT TO GENERATE SEQUENCE NUMBERS USING STORED FUNCTION AND WE CALL FUNCTION IN INSERT STATEMENT IT WILL AUTOGENERATE THE UNIQUE IDS PLZ DO A VIDEO ON THIS CONCEPT
@csekathir1
@csekathir1 5 жыл бұрын
SQL query tuning step by step sir
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@kathir, sure. Will post as part of tuning video series
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
What is the difference between decode and case
11:00
Siva Academy
Рет қаралды 131 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 101 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,2 МЛН
Oracle PL SQL interview question | What is Mutating Trigger
12:04
Siva Academy
Рет қаралды 55 М.
🪄Вечная спичка #diy #выживание #поход
1:00
Короче, ВИ
Рет қаралды 2,8 МЛН
shocking end 🥴🤯 LeoNata family #shorts TikTok
0:54
LeoNata Family
Рет қаралды 41 МЛН
Таким раствором работать одно удовольствие
1:00
Профессия созидатели
Рет қаралды 954 М.
Такого Корпуса для ПК нет ни у кого в России
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 847 М.
Американцы красят асфальт?
0:27
BAZAR CLUB
Рет қаралды 188 М.