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

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2024

ความคิดเห็น • 117

  • @anpsir9652
    @anpsir9652 4 ปีที่แล้ว +4

    You are simply amazing. Your communication is also awesome

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      It's my pleasure,Thank you so much :-)

  • @WorldEye88
    @WorldEye88 4 ปีที่แล้ว +8

    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.

  • @ashokb1556
    @ashokb1556 5 ปีที่แล้ว +2

    what a explanation
    Siva Academy just phenomenal....

  • @vijeyatanag8685
    @vijeyatanag8685 4 ปีที่แล้ว +3

    Super job ..very detailed explanations thanks Siva keep the knowledge flow going on ...I learn something new 😀

  • @pankajkharade6936
    @pankajkharade6936 4 ปีที่แล้ว

    Best teaching method with live examples

  • @sucharurani6834
    @sucharurani6834 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Sure, please stay tuned for more in depth videos

  • @venuchindam6062
    @venuchindam6062 5 ปีที่แล้ว +1

    Knowledge is DEVINE... 💐

  • @dhananjaynandgaonkar
    @dhananjaynandgaonkar 2 ปีที่แล้ว

    lots of love hats off to you

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว

      🙏🙏🙏💐Welcome bro

  • @niranjandhavalikar
    @niranjandhavalikar 4 ปีที่แล้ว +1

    Thanks Siva for e.g. of INOUT parameter in function .

  • @Tipsypie1
    @Tipsypie1 6 ปีที่แล้ว +2

    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.

  • @thiru601mbt6
    @thiru601mbt6 2 ปีที่แล้ว

    Great job...@
    Your inputs are making us more confidents to learn more. Once again thanks

  • @manjunathreddy3484
    @manjunathreddy3484 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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....

  • @sivapriyaj7955
    @sivapriyaj7955 2 ปีที่แล้ว

    Excellent explanation that helps lot and easy to understand

  • @gokulkannan9407
    @gokulkannan9407 9 หลายเดือนก่อน

    Thank you for this session; it was very informative.

    • @SivaAcademy
      @SivaAcademy  9 หลายเดือนก่อน

      Welcome bro

  • @omm139
    @omm139 3 ปีที่แล้ว

    Really excellent explanation. Super Sir. Thanks so much

  • @humayunhimu6045
    @humayunhimu6045 ปีที่แล้ว

    wonderful explanation

  • @rohitkumar-bf9xe
    @rohitkumar-bf9xe 3 ปีที่แล้ว

    please make a video on to create a function to take a number and display its square using inout ...

  • @lakshman1216
    @lakshman1216 3 ปีที่แล้ว +1

    hi can we pass a parameters to running program in plsql? is it possible.

  • @VermontCA1864
    @VermontCA1864 3 ปีที่แล้ว

    Great job Siva!👍👍Learned something new today. Thank you.

  • @SreeramReddyB
    @SreeramReddyB 5 ปีที่แล้ว +1

    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.

  • @SatyendraSingh-ul5iq
    @SatyendraSingh-ul5iq 3 ปีที่แล้ว +1

    there is a 1 single record in a table but i want to populate the data 10 times. Please answer

  • @krishchait6106
    @krishchait6106 4 ปีที่แล้ว +2

    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

  • @saiswaroop3570
    @saiswaroop3570 2 ปีที่แล้ว

    Sir can we multiple records using functions using record data type, and can bulk collect used with records?

  • @anjaliasia5853
    @anjaliasia5853 4 ปีที่แล้ว +1

    Can you please explain about explain plan in query execution.

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Sure please stay tuned for performing tuning videos, will explain there

  • @ManojKumar-il8vt
    @ManojKumar-il8vt 4 ปีที่แล้ว +1

    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  4 ปีที่แล้ว

      Hi Majon, yes you can call, already posted on the same question, Please look into below mentioned videos
      th-cam.com/video/yyRM-p2xfZc/w-d-xo.html
      th-cam.com/video/CkkIbsi_3cc/w-d-xo.html

  • @cambotourtech9237
    @cambotourtech9237 4 ปีที่แล้ว +1

    Thank for your sharing.

  • @bharathipandian45
    @bharathipandian45 2 ปีที่แล้ว

    Siva, need unix and sql plsqk production support interview questions

  • @poojagonla7824
    @poojagonla7824 2 ปีที่แล้ว

    thankyou for examples .. worth watching

  • @vilasgaikwad4141
    @vilasgaikwad4141 5 ปีที่แล้ว +1

    Can you please make videos on performance tuning interview questions

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @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

  • @ramkumarj4216
    @ramkumarj4216 3 ปีที่แล้ว

    Can you please provide the details of other sys objects like ODCIVARCHAR2LIST that can be used in for storing data temporarily.

  • @shivpriyatate827
    @shivpriyatate827 4 ปีที่แล้ว +1

    Good examples.

  • @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

  • @TinyTuber31
    @TinyTuber31 4 ปีที่แล้ว +1

    can we have multiple out parameters in a function sir??

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว +1

      yes, you can have multiple out and INOUT parameters too

  • @anjaliasia5853
    @anjaliasia5853 4 ปีที่แล้ว

    Thanks, you are doing good job.

  • @sankalpsaxena3195
    @sankalpsaxena3195 4 ปีที่แล้ว

    Thanks Siva ..Nicely explained

  • @bharathipandian45
    @bharathipandian45 5 ปีที่แล้ว

    Hi siva, what is type? Why we use it for?

  • @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

  • @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
      th-cam.com/video/yyRM-p2xfZc/w-d-xo.html

  • @vinithab4828
    @vinithab4828 6 หลายเดือนก่อน

    Just awesome

  • @Ganeshay-09
    @Ganeshay-09 2 ปีที่แล้ว

    siva sir ... can we call function into procedure

  • @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 th-cam.com/video/SFlmUk9IUg8/w-d-xo.html

  • @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.

  • @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😊

  • @debayannew5083
    @debayannew5083 3 ปีที่แล้ว

    why we can't call any function with OUT/INOUT parameter from select statements??

  • @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,
      th-cam.com/video/rJuRWv7k-zo/w-d-xo.html
      Thanks,
      Siva

  • @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

  • @gautam26trivedi
    @gautam26trivedi 4 ปีที่แล้ว

    hi shiva can I get yours videos on regular expressions

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Hi Gautam, I am yet to post on regular expression, please stay tuned

    • @gautam26trivedi
      @gautam26trivedi 4 ปีที่แล้ว

      @@SivaAcademy please do it fast sir because waiting from long time.

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Sure bro 👍

  • @sameerahmad7592
    @sameerahmad7592 4 ปีที่แล้ว

    Excellent Sir...

  • @shalinis6299
    @shalinis6299 2 ปีที่แล้ว

    Hi sir,
    Can you make the video for UTL_FILE Concept in Plsql.

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว

      Sure, please stay tuned

  • @SAK-y6j
    @SAK-y6j 5 ปีที่แล้ว

    Excellent!!

  • @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.

  • @manoharreddybusupalli4771
    @manoharreddybusupalli4771 ปีที่แล้ว

    Hi sir, please provide oracle installation link and installation process video

  • @manochoco23
    @manochoco23 4 ปีที่แล้ว

    I understood only key learning from this video. 😅

  • @abhijitmane9949
    @abhijitmane9949 ปีที่แล้ว

    Great , Thanks :)

  • @vikramshelke5001
    @vikramshelke5001 4 ปีที่แล้ว

    You are awesome.

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Thank you so much :-)

  • @manishmanveer8867
    @manishmanveer8867 3 ปีที่แล้ว

    find out the 3rd highest salary from table for each years fallowed by each department

  • @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

  • @csekathir1
    @csekathir1 5 ปีที่แล้ว

    SQL query tuning step by step sir

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @kathir, sure. Will post as part of tuning video series

  • @gokulkannan9407
    @gokulkannan9407 9 หลายเดือนก่อน

    PLS-00382: expression is of wrong type

  • @kristipatisurya2604
    @kristipatisurya2604 3 ปีที่แล้ว +1

    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

  • @ManojKumar-il8vt
    @ManojKumar-il8vt 6 ปีที่แล้ว

    Nice