Stored procedure output parameters or return values Part 20

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

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

  • @RaihanTaher
    @RaihanTaher 7 ปีที่แล้ว +25

    Excellent! Thanks for all your videos. You are amazing. Keep up the good work.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  7 ปีที่แล้ว +7

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/order.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      th-cam.com/video/y780MwhY70s/w-d-xo.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      th-cam.com/users/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

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

      Thanks Venkat. I will share with my friends. :-)

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

      Thank you so much, Very useful!

  • @iamboozi
    @iamboozi 10 ปีที่แล้ว +13

    Venky, you may go ahead and make a video on grass growing and I am sure we all would be interested in it. You are SIMPLY the BEST!

  • @adrienhide
    @adrienhide 11 ปีที่แล้ว +19

    Best teacher in the world

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

    Lot of knowledge in your videos ,but not at all overwhelming . You put everything in a easy to understand way. I can't thank you enough . 👏Thank you so much

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 ปีที่แล้ว +1

    Thank you very much for taking time to give feedback. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.

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

      Thanks for your hardwork..
      Really Awesome videos.

  • @ThePixelizedNetwork
    @ThePixelizedNetwork 9 ปีที่แล้ว +41

    For the first time he said, "Can we do that? No, we can not.". He usually says "Absolutely" :)

  • @VO1D33
    @VO1D33 9 ปีที่แล้ว +30

    I have no idea what has motivated you to create all of these videos. But thank you. You're the shit. These videos are amazing

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

      Your peculiarly American compliment probably has Mr Venkat scratching his head. :-)

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

      Why Shit? Shit is s bad word. Pellicore Ji ,please don't use Shit. Use Great.

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

      @@shivarjunroy1394 calling something "the shit" is a compliment meaning it is of the highest quality

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

    Idk how i can thank u man! very appreciate your hard working.

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

    Hi Kudvenkat,
    Excellent videos with good explanations for all SQL Server topics. Thanks for helping us with these awesome tutorials.

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

    Best course I came across so far.

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

    Excellent - the best tutorials on SQL that I have seen

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

    I love your videos. And unlike other people you have a large inventory!

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

    This one is very much resourceful, cleared the concept between them. Thank you.

  • @magdarljohn-efe1850
    @magdarljohn-efe1850 10 ปีที่แล้ว +4

    Hi Kudvenkat,
    What is the point using an output parameter when I can just write the stored proc without it and get the same output? Kindly explain the need for an output parameter. Thanks.

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

    Thank you for all the videos Sir! Every video is simple and easily understandable.

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

    You explain really well! I love your course!!

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

    this man is a legend!

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

    Excellent video teaching sir!!! We pray for your good health !! My Pranams

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

    I learned so much, Thank you Venkat, you are really a good teacher

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

    I mean it sir , you are a master .

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

    Excellent explanations, this is just what I was looking for.
    Thanks a lot!
    Greetings from Argentina

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

    you are just unbelievably amazing

  • @ahmedraees5352
    @ahmedraees5352 10 ปีที่แล้ว

    Hi Venkat, You are really doing a great job...Please keep it up...Thanks for helping us with these awesome tutorials.

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

    YOU ARE MY FAVE EVER!!!!!!!!!!!!!!!

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

    You are the best....Thank You very much Sir
    ...

  • @kiranpedamkar
    @kiranpedamkar 12 ปีที่แล้ว

    sir one more request i want to do is that in the .NET basics tutorial you have been said that some remaining thing like (satelite assemblies and other several benefits of .net application) will talk in grate details in later session but there is no video tutorial on these i found, please upload that also...
    sir you are doing great job, your explanation one each content help us to understand easy to fresher like me, sir don't stop doing this....

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

    Venakt thank you so much you are great

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

    Best till date

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

    Venkat, Stored procedure can return text values as well , if you declare the return type

  • @SuperGojeto
    @SuperGojeto 9 ปีที่แล้ว +3

    I wish you made Oracle SQL videos also!!!

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

    Best vedio useful 👏

  • @shashidharsuroju3940
    @shashidharsuroju3940 11 ปีที่แล้ว

    awesome tutorial .superb presentation .

  • @kiranpedamkar
    @kiranpedamkar 12 ปีที่แล้ว

    that is superb video it will help me lot, don't stop doing this keep it up and one more thing pls upload videos on ADO and ASP .NET...
    tremendous job

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

    Hi, your really doing a very good job..thank you so much for all your videos...keep doing this good...can you show us videos on open row set concepts in sql server 2008

  • @sandythandu
    @sandythandu 11 ปีที่แล้ว

    Thanks for all videos

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

    just awesome....

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

    Hello @Kudvenkat - Can we get multiple rows using outpur parameter in Stored proc?? Plz answer

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

    In which video you created spGetNameById? Because I looked in the previous and the one before, and sadly didn't found that.

  • @mohit4230
    @mohit4230 9 ปีที่แล้ว

    Really Amazing videos Sir!!

  • @RandomGameHall
    @RandomGameHall 11 ปีที่แล้ว

    good videos. u have all the required content organised. gonna be useful

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

    Hi
    I am very much benefited from your video on SQL.
    How can I learn SSIS, SSAS, SSRS?
    Also How can I get those installed to SQL Server Management Studio 2017.
    Your guidance will be highly appreciated.

  • @magdarljohn-efe1850
    @magdarljohn-efe1850 10 ปีที่แล้ว

    Thanks Tuomo. I appreciate your response.

  • @mouradbarakat123
    @mouradbarakat123 12 ปีที่แล้ว

    GREAT WORK!

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

    Thanks a lot !

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

    Thanks.. thanks.. thanks

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

    Thankyou

  • @prajapati22
    @prajapati22 11 ปีที่แล้ว

    Thank you

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

    great

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

    Awesome video.. have you also made video related to normalization ?

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

    Great job. Does anyone has the dataset of this SQL series? Please it will help me a lot.

  • @parikshithgari7501
    @parikshithgari7501 9 ปีที่แล้ว

    Hello Venkat,
    In the beginning of this video you told that 'Zero' indicate Success and 'non Zero' indicates failure but the example you showed a success with a return value of '10'. Can you please throw some light on it.
    Thanks,
    Parikshith

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

      +Parikshith Gari Have you got your answer? Same question here

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

      Hi I got the same doubt. Any update on this? please respond.

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

      That's the default behaviour, but you can overwrite it to return something else. In this case it returned the number of employees in the table.

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

      usually not always

  • @011010a
    @011010a 11 ปีที่แล้ว

    Thanks Sir

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

    I had a doubt that in starting of video you told that returning zero means success and returning non zero value means failure but when we actually return count of employees for example we are returning a non zero value but that is a successful run.
    So I am a bit confused here.

  • @RamaKrishna-ll8iz
    @RamaKrishna-ll8iz 9 หลายเดือนก่อน

    Hi, Could you please help me to understand why output parameters needed when we can get same result using input parameters

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

    Sir, I've used a similar syntax in SQL developer but it caused an error?

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

    Thank you for playing...

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

    After watching this, I can't help wondering why we need return value...

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

    Can Output parameter be of Temp Table or Table Variable data type ?

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

    Can we return a table using stored proecdures?

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

    Please how do I get the output value in my visual studio project?

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

    output paramters are very important than return values

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

    I just want from you to tell me where in the previous session we (actually you) created stored procedure spGetNameById... because I didn't do that...

  • @94dheeraj
    @94dheeraj 7 ปีที่แล้ว

    hi sir, just one small clarification, can a stored procedure have more than one output parameters??? For example I need to build a stored procedure that returns the age and city of a particular employee. Can I do that with single SP or should I write two SPs for that?

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

      yes it can have more than one output parameters

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

    where can i download that sample database? i wanna use it as practice..

  • @RP-nf7fl
    @RP-nf7fl 6 ปีที่แล้ว

    one thing i don't get is when executing Stored Procedure, why he had @total, after execute spGetTotalCount1. Where and why @total was added after spGetTotalCount1

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

    why does the declared variable have a different name than the output parameter name in the procedure? In this example, why do we declare @Total? Why not just declare @TotalCount?

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

    Create Procedure spGetNameById2
    @name nvarchar(20)
    as
    Begin
    Return (Select Name from tblEmployee Where Id = @Id)
    End--this code will work ,so I can return a non integer value in the return value ,why you said it gives error ?

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

    Please make on Universal Windows Platform

  • @devi07461
    @devi07461 11 ปีที่แล้ว

    hi hari thae power point presentaion is in his blog you can check it once

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

    Damn functions in sql sux potatoes. It is a pain to call, it is a pain with return value, don't even know why it was not improved over the years. I have to write 3 lines of code to call a procedure...

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

    i want to delete data from coloum which is present in 2 table in 1st table it is primary key and in second table it is foregin key..so when i delete data from 1st table that it autometicaly delete from the second table by refering frome first one

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  6 ปีที่แล้ว

      This should be very easy to implement. Cascading referential integrity constraint helps you do this. To understand what this means, please check out the following video. Hope this helps.
      th-cam.com/video/ETepOVi7Xk8/w-d-xo.html

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

    1:00 "If you open the Programmability folder you should see SP dbo.spGetNameById...we have created this SP in the previous session"...No "we have not".

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

      I was thinking the same thing and went back a video just in case i missed something. I tried to create my own but did not have the same results

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

      This procedure was not creates, but it is not important at all, you can use any other stored procedure. The Venkat's point was to describe difference between output parameter and return value

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

    Please can someone tell me the difference between PRINT and SELECT?

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

      as far as I know..
      print is printing values on console level of SQL.. (Under messages tab)
      Select gives output on Tabular format.. (Under Results tab)

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

    How to use this stored procedure in SQL, Anyone please reply

  • @AhmedHassan-qf4in
    @AhmedHassan-qf4in 6 ปีที่แล้ว

    how return more than value with output parameters

    • @hometv7163
      @hometv7163 12 วันที่ผ่านมา

      Use TableValued data type as output parameter.

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

    1:07 We haven't created stored procedure before spGetNameById,
    ---------------------------------------------------------------------------------------------------------
    Let's create now:
    --------------------------
    Create Procedure spGetNameById
    @Id int,
    @Name nvarchar(50) Output
    AS
    BEGIN
    select @Name = Name from tblEmployee where Id = @Id
    END

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

    create proc my
    as
    begin
    return 1;
    end
    declare @id int ;
    exec @id =my
    select @id

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

    thanks

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

    Please how do I get the output value in my visual studio project?

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

    Please how do I get the output value in my visual studio project?