PL/SQL tutorial 39: How To Create PL/SQL Functions in Oracle Database By Manish Sharma

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

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

  • @NehaSharma_nsds
    @NehaSharma_nsds 7 หลายเดือนก่อน +1

    😊very very helpful video

    • @Rebellionrider
      @Rebellionrider  7 หลายเดือนก่อน

      Thank you! 😊 I'm glad you found the video helpful! If you could quickly master any advanced SQL skill, what would it be and why? Your input enriches our content! 🌟🚀

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

    A very good channel to leran SQL n PL/SQl.

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

    thanks for both sql and plsql tutorials , you are really doing a great job sir

  • @krishnavinod8734
    @krishnavinod8734 4 หลายเดือนก่อน

    Great 🎉🎉 we need more from plsql course in details anything u u missed in this series,

    • @Rebellionrider
      @Rebellionrider  4 หลายเดือนก่อน

      This is the entire PL/SQL course. By the way Where do you currently stand in your SQL proficiency: beginner, intermediate, or advanced? Your perspective is valuable! 😊🌟

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

    thanks for providing plsql videos,i learnt a lot from you.

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

    I have to learn this for work. You're my hero!

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

      Thank you so much. I am truly glad that you find my content helpful.

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

    Manish great tutorials, but one suggestion from me could you find some other opening phrase for your videos? Thanks

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

    thank you so much for the such great series about pl/sql

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

    Thanks very much, Sir.

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

    Thanks a lot for this tutorial :)

  • @manjunathreddy3484
    @manjunathreddy3484 6 ปีที่แล้ว

    Dear sir Please Provide Video 1)Pipelined function vs Table function
    2)how to convert the non partition table to Partition Table
    3)advantages of Partition
    4)Normal table Verses Partition Table

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

    YOU ARE AMAZING MANISH !!!!

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

      Thank you so much your appreciation means a lot to me.

  • @igaming_
    @igaming_ 11 หลายเดือนก่อน +2

    Are these syntax now also valid

    • @Rebellionrider
      @Rebellionrider  11 หลายเดือนก่อน +1

      Of course they are.

  • @SivaKumar-rv1nn
    @SivaKumar-rv1nn 3 ปีที่แล้ว

    Thankyou sir

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

    Is it possible to return a whole table in a function?

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

    create or replace function circleArea (r in number)
    return float
    is
    pi constant number(4,3) := 3.142;
    begin
    return (r * r)*pi;
    end;
    declare
    r number := 4;
    ans float;
    begin
    select circleArea(r) into ans from dual;
    dbms_output.put_line('Area of cicle having radius ' || r || ' = ' || ans);
    end;

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

    Hi Manish, Can you explain how to create function which returns multiple values

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

    great video but your screen display is very tiny

  • @abhisheksharma6617
    @abhisheksharma6617 8 ปีที่แล้ว

    Manish, please do some videos on recovery and backup for Oracle 11g, using RMAN.

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

    How to concate strings from a table using ceate or replace function

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

    Sir plz tell functions without any parameter n how it works whts its use

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

    Hi Manish,
    Please tell how to call procedures in plsql developer? The one you have showed in sql developer isn't wotki g in plsql dev'r. Please help me

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

    Hi- great vid BUT how would you write the SELECT statement to call the example function in this video?? SELECT circle_area from dual; ??

    • @snowgaming.official
      @snowgaming.official 6 หลายเดือนก่อน

      set serveroutput on;
      declare
      v_result number (7,3);
      begin
      select Circle_area(25) into v_result from dual;
      dbms_output.put_line(v_result);
      end;
      /

  • @punitkumar-oy2cl
    @punitkumar-oy2cl 4 ปีที่แล้ว

    In function how I return data tabular form

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

    hoye papa jiiiii

  • @shahrukhqureshi1310
    @shahrukhqureshi1310 8 ปีที่แล้ว

    bro.....plz upload procedures

  • @makkar1610
    @makkar1610 7 ปีที่แล้ว

    how do i create a function for table, say if am taking the input from a user..and i want to print the table for that number using a function created by me.

  • @punitkumar-oy2cl
    @punitkumar-oy2cl 4 ปีที่แล้ว

    I want to join function and table how

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

    why is your link not working?

  • @santoshchary1631
    @santoshchary1631 8 ปีที่แล้ว

    Hello Manish...i have written the below code...it's compiling with errors...plz suggest me what to do?
    set serveroutput on;
    create or replace function rect_area(height number(4),width number(4)) return number is
    area number(4);
    begin
    area := height * width;
    return area;
    end;
    /
    error is :
    Error(1,33): PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.
    Error(1,48): PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.

    • @Rebellionrider
      @Rebellionrider  8 ปีที่แล้ว +3

      Thanks for writing to me.
      The function is correct except that you specified the data width along with the datatype of your parameter. While defining the PL/SQL subroutines we do not write the data width, we only write the datatypes of their parameters.
      here is the correct code
      SET serveroutput ON;
      CREATE OR REPLACE FUNCTION rect_area(
      height NUMBER,
      width NUMBER)
      RETURN NUMBER
      IS
      area NUMBER(4);
      BEGIN
      area := height * width;
      RETURN area;
      END;
      /
      I suggest you , to watch the PL/SQL tutorial 38 carefully where I have explained the syntax th-cam.com/video/6OJIrPx61mU/w-d-xo.html
      Keep writing the code. All the best. Please do make sure to LIKE, SHARE and SUBSCRIBE.
      You can now also connect with me on my Facebook
      Personal Page: fb.me/TheRebellionRider
      Page for RebellionRider.com updates: fb.me/RebellionRider.official
      I am also very active on Twitter: twitter.com/RebellionRider
      Hope to see you there soon. Thanks and have a nice day.

    • @santoshchary1631
      @santoshchary1631 8 ปีที่แล้ว

      Tnx Manish...it's worked for me..understood now :)

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

      create or replace function rectArea(l in float, b in float)
      return float
      is
      begin
      return (l*b);
      end;
      declare
      l float := 1.2;
      b float := 1.2;
      ans float;
      begin
      select rectArea(l,b) into ans from dual;
      dbms_output.put_line('Area of rectangle with l and b = ' || l || ', ' || b || ' = ' || ans);
      end;

  • @DavidMartinez-im6ln
    @DavidMartinez-im6ln 4 ปีที่แล้ว

    The only thing I don't get it is why you haven't assigned a value to radius and still work

    • @pixskull482
      @pixskull482 7 หลายเดือนก่อน

      He gave the value of radius (25) while he was calling functions in pl sql block

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

    Or you can simply write select circle_area(25) from dual.. :)

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

    How to update salary for each dept using function?

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

    He is trying to copy code with Harry style of speaking

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

      Yeh video 5-6 saal purani hai chomu.