Procedure Tutorial in SQL | SQL Stored Procedure | Procedure in SQL

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

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

  • @techTFQ
    @techTFQ  2 ปีที่แล้ว +18

    Visit brilliant.org/techTFQ/ to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.

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

      Great vid can you please make q tutirial on how to download and install oracle database and how to configure it with the right settings to get started and learning iracle please?

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

      Please share the link to download those dB, if I manually creating this entry from 1 after previous entry was loaded at 10.

  • @TheRaju991
    @TheRaju991 2 ปีที่แล้ว +38

    Thank you very much for covering all different SQL platforms. I don't see anyone taking the effort to teach all 4 to help everyone. Much appreciated!

  • @rahulv2265
    @rahulv2265 2 ปีที่แล้ว +73

    Your are bahubali of SQL tutorials 👌👌👌

  • @shivammadaan9498
    @shivammadaan9498 2 ปีที่แล้ว +8

    Thanks a lot Thoufiq, whenever I have to learn anything about SQL, your channel is the first I go through and as always you did justice to teaching it simply but elegantly. Thanks a lot my dear friend.

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

      your welcome Shivam. I am very glad to read this

  • @PallabNath-to9oq
    @PallabNath-to9oq 3 หลายเดือนก่อน

    This is by far the best SQL tutorials on the internet, better than a lot of paid resources

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

    one of the best explanations of a stored procedure with an actual use case, thank you so much for the video.

  • @garybou8559
    @garybou8559 5 หลายเดือนก่อน

    I really like speed of this tutorial, no kicking tires!
    For someone who has experience in multiple DBs need just refresh key words and style to write store procedures!!! Awesome👋👋👋 !

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

    This is the best explaination about stored procedures. Its like spoon feeding.

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

    Just started learning SQL and I'm amazed how you explain things to look that easy. Keep it up💞🎖️🔥

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

    THIS MAN MAKES LEARNING EASIY, THANK YOU SO MUCH FOR ALL YOU DO FOR US. GOD BLESS YOU BROTHER;

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

    Best SQL teacher on TH-cam ♥️🔥

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

      Thank you buddy

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

    I am working on Version 8.0.18 which does not support Materialized views natively. I have an issue with performance in crosstabs when I query a decently large table for unique patient ids for YTD. It takes about 3-5 mins depending on what YTD months. After Jan-Apr the query deteriorates exponentially with each passing month. So I just created an aggregated table that I run each month. But the materialized view would have been nice to use. You are a good teacher and teach at a good pace with limited filler which I really like. Thank you.

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

    There are so many tutorials out there but you are damn too good.

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

    Wonderfull story telling comparing 4 diff category. Please do more vedio series.. it will help full us..

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

      Thank you Balaji :)

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

    Am a big fan of your teachings.
    Keep it up sir, you are fantastic

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

      Thanks a lot brother :)

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

    Great explanation on this. Good reference for the future when I need it. Keep them coming. Thanks for all your videos.

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

      Thanks Steve, will do!

  • @Ayesha-wf3sy
    @Ayesha-wf3sy 3 หลายเดือนก่อน

    very well explained. I didn't bore for a while even

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

    awesome video, as practical as an example can get!
    as compact as possible!
    thank you!

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

      Thank you so much buddy

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

    I'm trying to relate this with functions in Python
    Thanks for this video sir. I've not gotten to this stage yet but a pre-knowledge is not bad

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

      Though I haven't used this in a work context because in most cases Analysts will only have Read permissions, these are exactly like functions.

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

      @@TheRaju991 true
      You know in functions you don't write the codes again

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

    One of the bes ttutorial for SQL. I request you to make such kinds of tutorials for PowerBI with some projects. Love from Pakistan...

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

    One of the best video I have ever seen. Its so simple and easy to start from. Thanks @techTFQ.

  • @sushmashreem.t1823
    @sushmashreem.t1823 2 ปีที่แล้ว

    Superb teaching..We get more interest on Sql after seeing your videos...

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

    Thank u so much for this !

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

    Thanks for this video and could you please make the next video including collection types and cursors in Procedure

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

      sure, will cover it as part of my PL SQL series in the future

  • @manupriyar8169
    @manupriyar8169 2 ปีที่แล้ว +3

    It's an awesome video.. Great effort Tafiq.. Please give more examples in real time scenario as well. Also please do videos regarding in real time scenario how we will do it like using a tool such as SSIS Or UNIX something like this..

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

    Thank you techTFQ sir , your way of teaching is best

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

    Amasing, thx for lessons.
    Could you explain, when and who use procedure..like even with this example, who should do it? And if it must be automatizete, how? I mean if someone but ipad, it's procedure or smth will called without you

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

    Hi Tofik,
    I am impressed of your teaching. Kindly, Hoping you will do a video on functions too. It will be much useful to compare with procedures as well most of the interview pannel posting a question diff b/w procedures and functions.
    Thankyou.

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

    Wish u a very happy Eid Taufiq

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

      Thank you bro, saw this a little late :)

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

    Hi @techTFQ thank you for the amazing content on Procedures. It cleared lot of things in my head. I just had a request to make: Can you please do 1 or 2 videos on Triggers ? I tried searching a lot but didn't find any good videos explaining the same so hoping you could help. Thanks in advance

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

    Best video on store procedure. Thankyou bhai for covering everything ❤.

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

      Glad it helped

  • @Pardhu007
    @Pardhu007 2 ปีที่แล้ว +3

    Hi bro
    These videos are very much useful
    Can you make an video for json file format and flatten the data for json format

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

      Thank you :)
      and will consider it

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

      Thank you

  • @lkkota41
    @lkkota41 5 หลายเดือนก่อน

    Appreciate putting the differences.. Very helpful

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

    Well covered but need a video using output paramaters
    Also cover user defined function and triggers

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

      Noted bro, will do

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

    Thanks sir , I'm waiting for this video

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

      I hope this helps Mahesh

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

    This is very helpful. Thank you.

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

      Thank you Joe :)

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

    Very comprehensive tutorial! Thank you for sharing!!!

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

    I have a question "You need to show joined data from 5 tables. Each table contains a large number of rows and could generate a large result set after executing the Joins. The business is not expecting live data, and a 2-hour refresh is acceptable. Performance is a top priority. What should you use?" ---- so what would be the answer and why: Stored procedure or Materialized view........kindly give your valuable guidance

  • @hritikdalal5633
    @hritikdalal5633 3 หลายเดือนก่อน

    Awesome presentation, explained in a crisp and clear manner, Hats off the Tutor🫡

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

    I'm a fresher just finished my SQL course..I wanted to know what are the important topics will be there in real time..so I can practice more on them ..can you please suggest

    • @ShubhamSharma-ks7vd
      @ShubhamSharma-ks7vd 2 ปีที่แล้ว +2

      Normalization,Joins, Stored proc, Views,Index, Groupby, Cursor, Trigger👍

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

    Hi Taufiq, excellent video as always ❤
    why don't you cover cursor & error handling as well ? is there any separate video for that ?

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

    Superb ! Keep up the good work ...

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

      Thank you :)

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

    Thanks for the video👍

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

      Your welcome bro

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

    Thanks is just a small work. Keep up the good work

  • @UpendraYadav-te8ov
    @UpendraYadav-te8ov ปีที่แล้ว

    Thank you so much bro for making such a wonderful video, well explained

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

    Wow man! simply outstanding.....!

  • @omkargurme20
    @omkargurme20 5 หลายเดือนก่อน

    awesome video, thanks, also a request, can you make more videos on PL-SQL , thanks

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

    hi
    i am getting an error while execuing procedures
    ERROR: column "quantity_ordered" of relation "sales25" does not exist
    LINE 1: insert into sales25(order_date,product_code,quantity_ordered...
    ^
    QUERY: insert into sales25(order_date,product_code,quantity_ordered,sale_price)
    values(current_date, v_product_code,1,(v_price * 1))
    CONTEXT: PL/pgSQL function pr_buy_products() line 12 at SQL statement
    SQL state: 42703
    this what i am getting while calling procedure,
    when selecting the whole procedure not getting any errror
    ony when calling call pr_buy_products() this it throws wrror

  • @qurdedu4032
    @qurdedu4032 2 ปีที่แล้ว +3

    Hey Tofik thank you so much for the great materials. I was wondering, if you would create real time examples in SQL intermediate and advance lvl.

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

      you mean SQL queries right?
      I have already done it and will continue to do it

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

    Hi Tofik,
    It's an too awesome video.. Great effort Tafiq.. Please give more examples in real time scenario as well. Please please make video on Trigger and Cursor as well. God Bless You !!!!

  • @priyadarshini3284
    @priyadarshini3284 วันที่ผ่านมา

    Can u explain? How to resolve the error? Relation does not exists in postgre.

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

    Hello Tofik. Please make a video for triggers as well. Thank You

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

      Noted bro

  • @Kirankumar-ml1ro
    @Kirankumar-ml1ro ปีที่แล้ว

    Tq u buddy!! Will you please upload a video on pl/SQL fucntions

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

    Keep it up 👍. Great Efforts

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

      Thank you :)

  • @ManishSharma-fi2vr
    @ManishSharma-fi2vr 2 ปีที่แล้ว +1

    Please make a tutorial on indexing....I requested you many times.

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

      Noted Manish , but not anytime soon

  • @SatyamKumar-lj5bi
    @SatyamKumar-lj5bi 2 ปีที่แล้ว +1

    Thanks man for the video

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

      Your welcome Satyam

  • @dinesh.p8642
    @dinesh.p8642 11 หลายเดือนก่อน

    Thank you TFQ ji

  • @NaveenKallur-b4f
    @NaveenKallur-b4f ปีที่แล้ว

    Hi sir, Can you Please upload how to update records from multiple tables(different tables)
    using stored procedure

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

    Hey there, Great efforts in this channel.
    I have learned recently about assemblies.
    In what way, Assemblies are different from stored procedures?
    I appreciate your help at your sole convenience.
    Thanks a lot.

  • @SurajSingh-n8x1m
    @SurajSingh-n8x1m ปีที่แล้ว

    Bahut acha kaam karta ho aap

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

    Hi Brother...will you please make a detail video about the difference between procedures and funtions?

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

    Hi Thoufiq, I have a doubt. When you used current_date in MySql, it worked in procedure without parameters, but it didn't work in case of procedure with parameters. Why?

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

    @techtfq please make videos for performing tuning of Store procedure

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

    Thanks sir to upload this video big thanks

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

      I hope you like it Rahul 🙏🏼

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

      @@techTFQ not only this video sir all your video is excellent I always watch only your video.by watching your video I am gaining sql knowledge day by day.

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

    hi sirSir i want one more topic... That is
    How to decode SQL query for competitive exam..... I have around 100 relevel question... I have good knowledge in sql but still not able to decode SQL query

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

      let me consider it bro

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

    Hlo I am working in mnc. I got a training in mssql administrator. I am going to get project also in this stream only. It have worth of learning in 2022

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

      Good luck buddy

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

    Thanks a lot for the vedio😀

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

      Glad you liked it Nisha

  • @prajnamayadi1764
    @prajnamayadi1764 10 หลายเดือนก่อน

    Thoufiq excellent vedio lectures!!

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

      Thank you:)

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

    Hello,
    Would be willing to create a video on how to troubleshoot and optimize stored procedure? Thank you

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

    Hai tofik,
    I'm great fan of your teaching. especially, the way you teach is simply awesome 👌.
    But if you could do any video on t-sql (or) pl-sql, it will be very helpful for us... 👍Thank you Tofik.

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

      Thank you Lokesh :) and sure will consider it

  • @jubburusrikanth509
    @jubburusrikanth509 5 หลายเดือนก่อน

    Brilliant work 👏

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

    Excellent as always!!!

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

    thanks for sharing the great content! keep it up !

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

    Good work Sir, Keep it up

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

    .75 speed!! It’s a must!!!

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

    Thank you so much sir will you teach json in plsql sir, thank you for your help sir learned lot international standard

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

      Thank you Dhinesh. glad you liked it :)
      as for PLSQL concepts, I may do it in the future

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

      @@techTFQ thank you for your reply sir

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

    Omg another way of escaping quotes

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

    Also Explain the stored procedures for snowflake database

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

    tnx bro. outstanding video 👏

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

    hi please make a video on sql order of execution

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

      I’ll plan it out

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

      Sir i want one more topic... That is
      How to decode SQL query for competitive exam..... I have around 100 relevel question... I have good knowledge in sql but still not able to decode SQL query

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

    Can you make a video on functions and loops in sql please!

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

      sure will do

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

    Please make a video on Triggers

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

      Noted, will plan it

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

    How to write a stored procedure to generate a report of last day of every month into an excel file. This question has been asked to me in 3 interview. Oracle. Postgresql. Mysql. Plz make a video on this.

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

    Thanks for this

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

      My pleasure bro!

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

    Could you please explain that how to send multiple parameters? Like IN condition in the WHERE Caluse.

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

    Hi sir. I'm having one issue. I am creating a procedure that will take parameter from another 1 colum table and run the procedure. Finally save the result. But the problem is i can't able to set parameter value which will take each row from that 1 column table. Can u please help?

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

    Hello, what are the topics that will be covered in this video? I asked this question because recently I am looking for detailed lecture videos to understand PL/SQL, I really appreciated uploading this video at the right time when I needed the most to understand its concept.

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

      Ive mentioned it in the video description. Check the timestamp plz

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

      @@techTFQ Will do thanks a lot and also for your other great SQL lectures.

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

    Separate video for all 4 would be appreciable … Its confusing to see all together can’t get the flow like before videos you have made !

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

      I understand bro...

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

    You are a gem

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

    Please share the link to download the database unable to replicate by manually creating table!!

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

    Is the difference between t-sql pl/sql and standard sql is the stored procedure?

  • @nada-rw6iy
    @nada-rw6iy 6 หลายเดือนก่อน

    thank you!!

  • @ArifRaza
    @ArifRaza 3 หลายเดือนก่อน

    Hello Taufiq Sir,
    I followed your suggested steps to create and execute stored procedure in oracle SQL. When I have created a stored procedure without parameter and executed, I came across the below error. Please suggest me how to resolve it.
    warning:- procedure created with compilation error.
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object SYS.PR_BUY_PRODUCTS is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

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

    please the text editor / IDU u are using sir... or someone else, please tell..!!

  • @junedkhan-ge5mi
    @junedkhan-ge5mi 7 หลายเดือนก่อน

    when you execute select * from product how they reduce quantity ?

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

    Sir I'm using Ms SQL management studio and when I wrote all this there it shows error in the first line 'create or alter pr_buy_products' else everything is correct but its showing error what to do

  • @MangeshJogdand-d9b
    @MangeshJogdand-d9b 11 หลายเดือนก่อน

    Can u do video on trigger?

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

    What is difference between input parameter and output parameter?

  • @waseembari2125
    @waseembari2125 3 หลายเดือนก่อน

    Hi,As i stay outside india can you help me purchase your SQL course as there is no option for oversea payments

  • @Behappy-ft5yc
    @Behappy-ft5yc ปีที่แล้ว

    hii sir, can we put a condition to check if the input quantity is not 0, since the query will update sales table for 0 as an input to the required quantity, i am still a beginner and finding it difficult as to how should i put this condition