Stored procedures with output parameters Part 19

Sdílet
Vložit
  • čas přidán 21. 07. 2024
  • In this video we will learn
    1. Creating and executing stored procedures with output parameters
    2. Learn about some of the useful system stored procedures
    Text version of the video
    csharp-video-tutorials.blogspo...
    Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our CZcams channel. Hope you can help.
    / @aarvikitchen5572
    Slides
    csharp-video-tutorials.blogspo...
    All SQL Server Text Articles
    csharp-video-tutorials.blogspo...
    All SQL Server Slides
    csharp-video-tutorials.blogspo...
    All Dot Net and SQL Server Tutorials in English
    czcams.com/users/kudvenka...
    All Dot Net and SQL Server Tutorials in Arabic
    / kudvenkatarabic

Komentáře • 159

  • @kevintech5728
    @kevintech5728 Před 8 lety +92

    Dear Venkat; Please dont waste your life working in an IT thus incresing their profit;;not sure you are working in an IT firm
    Recommand you to start life in teaching field in bigger universities,corporate trainig and poor pepople
    as an it profession for 10 yrs,attended so many sessions,either seminar,................etc; this is one of the best session i ever encounder in my profession;the complex concept are simplified and the order in which you introduce the next concept is mind blowing...a smooth flow from one chapter to another...God Blass Venkat
    Keep Moving forward...The tec generation wants you...moreever the common people wants You...

    • @m.k.s1840
      @m.k.s1840 Před 5 lety +4

      Black-hearted idiot

    • @justaslam
      @justaslam Před 4 lety

      I trying to copy your teaching way and techniques

  • @kartikeyverma8110
    @kartikeyverma8110 Před 4 lety +1

    I have just reached this 19th video now...... and i must say this that i never had such a good youtube/video session on any thing/content before. I'm on my process to watch every video on it as I can see through all the 149 video titles that it covers part..... Thanks a ton for these videos... Its helping a lot. I will comment on the last video also once I reach it :)

  • @krzysztofs8535
    @krzysztofs8535 Před 7 lety +1

    You are master of SQL Server ! Thank you for your videos! Great job!

  • @Csharp-video-tutorialsBlogspot

    The quality of the video depends on your internet connection bandwidth. All the videos are uploaded in HD quality. To improve the video quality, click the settings button that is present at the lower bottom right hand corner of the youtube player. Hope this helps.

  • @MrSam901
    @MrSam901 Před 8 lety +2

    This is simply great Mr Venkat. Your explanations are perfect!

  • @Gigantum1000
    @Gigantum1000 Před 8 lety +2

    A bundle of thanks. Very good lectures and easy and simplistic way of disseminating knowledge.

  • @raghum4938
    @raghum4938 Před 4 lety +1

    I have gone through all of your videos and it helped me so much in my professional carrier , thank you so much Venkat for your videos.

  • @srinivasprasad7765
    @srinivasprasad7765 Před 3 lety

    After seeing this video in my whole 2years experience I never come across this contents in my works...now it showing how useful seeing ur video.

  • @maheshs8382
    @maheshs8382 Před 9 lety +3

    hats off to you Venkat, really lovely explanation. thanks a lot for your wonderful videos,

  • @Eaglessoft
    @Eaglessoft Před 8 lety +1

    Thank you very much making for these videos and putting all the time to create them and also put the in order for us. you helped me lot to under stand the tsql. your videos are the best so far i seen. even better then paid ones.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @VaGande
    @VaGande Před 7 lety +4

    I really appreciate your way of explaining the db concepts or any technical concept is so good, clear and to the point. Which makes us to grasp and digest in no time.
    Once again thanks Venkat for putting this effort in place for us.

  • @junaidmalik9593
    @junaidmalik9593 Před 2 lety +3

    Your Videos are helping me even after almost 10 years :). Thanks is a small word for the hard work have put behind making this content but still Thanks :)

  • @NazaninYari
    @NazaninYari Před 6 lety +48

    your videos are just SO GREAT. I feel like it's not fair to watch all for free, is there anywhere to donate?

    • @Trzbne
      @Trzbne Před 6 lety

      I think you are totally right. Here you can donate him: www.pragimtech.com/support.aspx

    • @recipetest
      @recipetest Před 6 lety +4

      Watch the add until finish? Heard it will give the uploader more?

    • @Trzbne
      @Trzbne Před 6 lety +5

      Yes, of course :-)

  • @sinoptik7
    @sinoptik7 Před 8 lety +7

    Dear Venkat!Thanks a lot for the great job you did! You channel is the best and ypur explanations are very detailed and useful! Thank a lot. Really!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  Před 8 lety +3

      +Elena Potapchuk Thanks a million for taking time to give feedback. I am glad you found the videos useful.
      Free Dot Net & SQL Server videos for web developers
      czcams.com/users/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs for offline viewing, you can order them using the link below
      www.pragimtech.com/Order.aspx
      Code Samples, Text Version of the videos & PPTS on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use our channel
      czcams.com/video/y780MwhY70s/video.html
      Want to receive email alerts, when new videos are uploaded, please subscribe to our channel using the link below
      czcams.com/users/kudvenkat
      Please click the THUMBS UP button below the video, if you think you liked them
      Thank you for sharing these links with your friends
      Best
      Venkat

  • @anuragvashishtha6660
    @anuragvashishtha6660 Před 11 lety +2

    Hello Venkat,
    Yet another brilliant performance. Both your "topic selection" and "topic explanation" is really awesome.
    Regards,
    Anurag

  • @sanketkondvilkar0747
    @sanketkondvilkar0747 Před 2 lety +1

    Thanks a lot Venkat for explaining SQL concepts in easy to understand videos!

  • @KimaniWaNdirangu
    @KimaniWaNdirangu Před 5 lety

    Thanks Kud Venkat for this SQL Server Videos - Love your patience with your virtual students.

  • @shashichauhan9841
    @shashichauhan9841 Před 8 lety +6

    Thank you Venkat for making Store procdure so simple to understand... I can see all of your video's are relating to SQL Development which are great as I had mentioned earlier as well :)) Have you got any video's for SQL Admin also , it will be great if you can suggest any good one , though there are few I found in you tube but I didnt find them very good.. thanks

  • @AhmedHassan-wt7ss
    @AhmedHassan-wt7ss Před 6 lety

    most professional lectures from this channel on youtube

  • @discoverthedebate8827
    @discoverthedebate8827 Před 5 lety +1

    i never learned about stored procedure in my university life.know i understood it very well you are great venkat thankyou very much

    • @terrenceholmes2450
      @terrenceholmes2450 Před 4 lety

      what did you study?
      if you studied IT and didn't learn about SP's I would ask for my money back.

  • @m.k.s1840
    @m.k.s1840 Před 5 lety

    Dear Venkat!Thanks a lot for the great job you did

  • @bshaider
    @bshaider Před 6 lety

    well thanks allot venkat you are the best tutor i ever found on you tube

  • @abduljelilali568
    @abduljelilali568 Před 10 lety +16

    Men, you are simply the best !!!!!!!!!!!!!!!!!!!!

  • @nabilaalam1320
    @nabilaalam1320 Před 3 lety

    Venkat Sir, Thanks a lot for the great job you did.👍🙏 You the best.😊😊

  • @chitaliscool
    @chitaliscool Před 10 lety +1

    thanks for the clear n concise description...ur a grt teacher

  • @ihabfam1059
    @ihabfam1059 Před 5 lety +1

    You are an excellent teacher, GOD bless you

  • @gurudattams
    @gurudattams Před 7 lety

    Thank you Venkat,
    teaching technique and the ways are very simple and easily understandable.We get interest as we go from chapter to chapter.
    Great job :-)

    • @FxShravan
      @FxShravan Před 3 lety

      hoy bhava kadak video banavlay

  • @trushnashah3631
    @trushnashah3631 Před 7 lety

    Hey Venkat sir,
    Thank for this video. I really like your way of teaching.
    Do you have any video for scrum and JIRA tool?
    Thanks

  • @LarsRyeJeppesen
    @LarsRyeJeppesen Před 10 lety +1

    Thank you so much. Your videos are a great help

  • @faizaarakkal4078
    @faizaarakkal4078 Před 4 lety

    Very informative video! You explain things really good and is easy to understand :) Thank you

  • @rira4956
    @rira4956 Před 8 lety +1

    Good Videos Venkat !

  • @phuongtdo4100
    @phuongtdo4100 Před 7 lety

    Wonderful, love your video. Thanks so much!

  • @nazman999
    @nazman999 Před 11 lety +1

    Hello Venkat, two words: Excellent and Thanks :-)
    Naz

  • @kunapareddyjanaki1039
    @kunapareddyjanaki1039 Před 8 lety

    Thank you so much for explaining in clear manner.it is very useful for me

  • @stutitehri993
    @stutitehri993 Před 10 lety +9

    very important when dealing with web applications

  • @mathewmuandange8110
    @mathewmuandange8110 Před 6 lety

    Thank you Venkat, you helped me out !

  • @jamieprater4049
    @jamieprater4049 Před 8 lety +1

    Hi Venkat. You videos are terrific -- very helpful and understandable.
    I have to write an application that connects to a SQL Server database and calls stored procedures from it, returning an ADO _RecordsetPtr for the application to use. Can you direct me to a good resource for learning more about how to do that? I am using Visual Studio 2013 VC++ and ADO. Thank you.

  • @Csharp-video-tutorialsBlogspot

    @EmployeeCount is an output parameter and is initialized by the stored procedure using the line below.
    Select @EmployeeCount = Count(Id) from tblEmployee where Gender = @Gender
    The value from the output parameter(@EmployeeCount) is then received by @TotalCount variable.
    Execute spGetEmployeeCountByGender @EmployeeCount = @TotalCount out, @Gender = 'Male'

  • @ProphecyMzwah
    @ProphecyMzwah Před 5 lety

    Thank you. Excellent tutorials.

  • @piyasidey2117
    @piyasidey2117 Před 8 lety

    You are a life saver Sir..Thank You..

  • @ahsanraza6871
    @ahsanraza6871 Před 7 lety

    Loads of love, from Pakistan.

  • @Csharp-video-tutorialsBlogspot

    Since the variable is specified with output keyword, sql server knows to move the value from @EmployeeCount output parameter to the output variable. I hope this answers your question. To receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. Please feel free to share the link with your friends and family who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video.

  • @shubhambhatia6504
    @shubhambhatia6504 Před 3 lety

    Really helpful thanks for explaining all the basic concepts

  • @user-ft9tp4ss2d
    @user-ft9tp4ss2d Před 7 lety

    You great!.. Thanks for the slides.

  • @aftabmehdi3460
    @aftabmehdi3460 Před rokem

    very well explained Venkat

  • @hera-12
    @hera-12 Před 2 lety

    thank you for ur service it is extremely helpful ❣️

  • @akkibhatt
    @akkibhatt Před 7 lety

    Truly good tutorial...good job

  • @rockstar3926
    @rockstar3926 Před 9 lety +1

    Thank you much for sharing :)

  • @DataAnalyticalThoughts

    Awesome 😊 best sql learning videos

  • @jandeman8410
    @jandeman8410 Před 5 lety

    thanks for freshing up my knowledge.

  • @rivaimuchlis
    @rivaimuchlis Před 8 lety

    I love this video. thanks :)

  • @MyLubimishBabyLove
    @MyLubimishBabyLove Před rokem

    Thank you. Great explanation.

  • @mr.prasadyadav
    @mr.prasadyadav Před 3 lety

    Thank you Venkat,nice Lecture

  • @Suecia2020
    @Suecia2020 Před 7 měsíci

    The best of youtube !!!!

  • @jdr2.paradigmabiblico128

    Thank you Sir, Great tutorial

  • @poonampoonam305
    @poonampoonam305 Před 5 lety

    Does your video help for SQL DBA job,....I means is these videos are enough for DBA job or i have to watch perticular DBA video also

  • @AzureSkyMusic
    @AzureSkyMusic Před 9 lety +1

    guys a silly question...in queries kudvenkat has lines from where each if starts or ends, or from start to end of a procedure....but i have only lines numbers in my sql server 2008....how can i change so i can see the lines too? the numbers are useful too.

  • @darikterfa624
    @darikterfa624 Před 3 lety

    you are the best!!

  • @malharjajoo7393
    @malharjajoo7393 Před 7 lety +1

    Imp point - When using system stored procedures like "sp_helptext",etc
    if your user defined stored proc is not in dbo schema , then you will need to use the following syntax ( the square brackets don't work ! ) -
    EXEC sp_helptext 'SchemaName.stored_proc_name';

  • @georgenadareishvili9771
    @georgenadareishvili9771 Před 10 lety +1

    great tutorial :)

  • @programmeseekho2795
    @programmeseekho2795 Před 6 lety

    Thank You Sir
    Very Help full Video..Very Nice Sir

  • @shadssj4
    @shadssj4 Před 11 lety

    I understand everything you explained so far (great job may I add) but how does the parameter EmployeeCount know to put the output value into the variable TotalCount ?

  • @missyneon999
    @missyneon999 Před 8 lety

    Hi Venkat. Thanks for the vidoes. They are much appreciated.
    What is the advantage of an sp passing the output data to output parameters, as opposed to just returning the output data directly as a result set?

  • @ambujaapineni1961
    @ambujaapineni1961 Před 2 lety

    Its very useful for me, Do more videos on sql

  • @madhvijha1482
    @madhvijha1482 Před 4 lety

    Amazingly explained concept😊thanks.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  Před 4 lety

      Hello Madhvi - Thank you very much for the feedback. Means a lot. I have included all the sql tutorial videos, slides and text articles in sequence on the following page. Hope you will find it handy.
      www.pragimtech.com/courses/sql-server-tutorial-for-beginners/
      When you have some time, can you please leave your rating and valuable feedback on the REVIEWS tab. It really helps us. Thank you. Good luck and all the very best with everything you are doing.

  • @TAZCreationsOfficial
    @TAZCreationsOfficial Před 9 měsíci

    Great presentation.

  • @drallisimo34
    @drallisimo34 Před 7 lety

    great tutorial!!!

  • @nuthouse99
    @nuthouse99 Před 10 lety +1

    outstanding!

  • @sijimathew9982
    @sijimathew9982 Před 8 lety +1

    thank you sir.

  • @rohitjaiswal8116
    @rohitjaiswal8116 Před 4 lety

    Thanks... It was helpful

  • @guotinghust
    @guotinghust Před 10 lety +1

    very very good!

  • @MrSugat11
    @MrSugat11 Před 11 lety

    Hi venkat again gr8 explaination here.Thanks for all what you are doing.
    I just got a problem hope u help.
    When i tried to open my sql server 2008 it says:Evaluation period has expired. So anny suggestions plz.

  • @harikas1675
    @harikas1675 Před 8 lety

    can u plz clarify my doubt.
    I have some fields where people entered names in different cases(lower case n upper case) n i want to insert those fields into my table in single case i.e.lower case. How to do that using stored procedures?

  • @cassavates
    @cassavates Před 10 lety

    Hello Venkat,
    would you please advise - I am confused with a problem.
    In below code it seems that after examining IF @enddatetime parameter > 0 the first described action is
    IF @enddatetime parameter > 0 returns FALSE -
    and 2nd : ELSE IF @enddatetime parameter > 0 returns TRUE.
    To my best knowledge IF works in a way that IF TRUE actions always come first, only then ELSE IF FALSE.
    Please advise if there are real scenarios when this sequence is the opposite?
    Thanks a lot for your help.

  • @koushikpushadapu8424
    @koushikpushadapu8424 Před 3 lety +1

    Damn , I'm watching this vid in 2021 and it still beats the competition xD

  • @SuperOnlyP
    @SuperOnlyP Před 7 lety

    DO you have tutorial for function, and trigger creation as well ? Please Help ! thanks

  • @keyurshah1366
    @keyurshah1366 Před 6 lety

    my query i s when i delete dataset from 1 table that that data also delete from second table...both table r join with primary key foriegn key concept

  • @AnnaAnna-ig2yw
    @AnnaAnna-ig2yw Před 7 lety

    thank you!!!

  • @sarthakshah2282
    @sarthakshah2282 Před 9 lety +1

    Stored Procedure with output parameter is fine while calling stored procedure from sql server , but while calling stored procedure using edmx how can i get output parameter value ?

  • @pramodmaurya6610
    @pramodmaurya6610 Před 5 lety

    Thanks a lot sir.. thanks

  • @bhagyashreetheone
    @bhagyashreetheone Před 6 lety

    Thank you all ur SQL videos.. please make detailed video on Teradata

  • @deepakdutt9722
    @deepakdutt9722 Před 3 lety

    Hi venkant sir from. Where can we get the practice file which you are using

  • @namratanikam7566
    @namratanikam7566 Před 3 lety

    Very well explained😊😊

  • @kavithavishwanathen6778

    Thanks a lot .....

  • @aameraftab8767
    @aameraftab8767 Před 6 lety

    superb explanations

  • @cassavates
    @cassavates Před 10 lety

    I am sorry to go so much into details but I have not yet found answer in forums e.g. Technet - please advise if I can ask in better way / place.
    Thanks again.

  • @korabballanca4787
    @korabballanca4787 Před 9 lety +1

    the best.

  • @krismaly6300
    @krismaly6300 Před 9 lety +1

    Revisiting
    Thanks

  • @Kubes82
    @Kubes82 Před 4 lety

    Very detailed explanation

  • @karritarri
    @karritarri Před 8 lety

    Great !

  • @aryalakshmi3221
    @aryalakshmi3221 Před 2 lety

    Just awesome

  • @nabeeulla
    @nabeeulla Před 3 lety

    simply Good.

  • @ymtan
    @ymtan Před 11 lety

    Hi venkat, how to implement stored procedures output parameters in VB.NET ? Can we use the output keyword in VB.Net ?

  • @MGcreations235
    @MGcreations235 Před rokem

    It was very helpful

  • @UmeshSnBrave
    @UmeshSnBrave Před 9 lety +1

    Thanks

  • @sumanhappy
    @sumanhappy Před 11 lety

    hi venkat , I actually did noy understand at (11:53) why did you assign @EmployeeCount=@TotalCount. my doubt how @TotalCount get initialized.. plz reply,,

  • @ankitasonawane9879
    @ankitasonawane9879 Před 10 lety +1

    Hi Venkat,
    I am trying to create a output stored procedure. the syntax is as below.
    create procedure spGetModelTotal
    @Type float,
    @TotlModel int output
    as
    begin
    select @TotlModel= count(ID)
    from car_sales
    where type =@Type
    end
    I am calling this procedure as below.
    declare @TotalModel int
    execute spGetModelTotal 1,@TotalModel out
    print spGetModelTotal
    I am getting the below mentioned error.
    Msg 128, Level 15, State 1, Line 3
    The name "spGetModelTotal" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.
    Please guide me.
    Thanks
    Ankita

    • @CEUBE89
      @CEUBE89 Před 10 lety +3

      Instead of "print spGetModelTotal" you should use "print @TotalModel", because you want to print the value of the variable, not the procedure.

    • @ankitasonawane9879
      @ankitasonawane9879 Před 10 lety +2

      CEUBE89 thanks a lot. it worked.

  • @saiganeshtadi2541
    @saiganeshtadi2541 Před 3 lety

    sir please do a video on how to give identity property only using stored procedure without giving identity property in table

  • @JonathanIsmaila
    @JonathanIsmaila Před 4 lety

    Please how do I get the output of the stored procedure in my vb.net project?

  • @Ty1er
    @Ty1er Před 2 lety

    ياخي تسلم