Stored procedures with output parameters Part 19

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

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

  • @kevintech5728
    @kevintech5728 8 ปีที่แล้ว +95

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

      Black-hearted idiot

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

      I trying to copy your teaching way and techniques

  • @NazaninYari
    @NazaninYari 6 ปีที่แล้ว +49

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

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

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

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

    • @Trzbne
      @Trzbne 6 ปีที่แล้ว +5

      Yes, of course :-)

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

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

  • @raghum4938
    @raghum4938 4 ปีที่แล้ว +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.

  • @abduljelilali568
    @abduljelilali568 10 ปีที่แล้ว +16

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

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

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

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

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

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

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

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

  • @kartikeyverma8110
    @kartikeyverma8110 4 ปีที่แล้ว +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 :)

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

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

  • @junaidmalik9593
    @junaidmalik9593 2 ปีที่แล้ว +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 :)

  • @VaGande
    @VaGande 7 ปีที่แล้ว +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.

  • @sinoptik7
    @sinoptik7 9 ปีที่แล้ว +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  9 ปีที่แล้ว +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
      th-cam.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
      th-cam.com/video/y780MwhY70s/w-d-xo.html
      Want to receive email alerts, when new videos are uploaded, please subscribe to our channel using the link below
      th-cam.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

  • @Eaglessoft
    @Eaglessoft 8 ปีที่แล้ว +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.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @discoverthedebate8827
    @discoverthedebate8827 6 ปีที่แล้ว +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 4 ปีที่แล้ว

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

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

    most professional lectures from this channel on youtube

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

    You are an excellent teacher, GOD bless you

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

    very important when dealing with web applications

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

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

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

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

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

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

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

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

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

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

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

    The best of youtube !!!!

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

    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.

  • @shashichauhan9841
    @shashichauhan9841 9 ปีที่แล้ว +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

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

    Thank you so much. Your videos are a great help

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

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

  • @hera-12
    @hera-12 2 ปีที่แล้ว

    thank you for ur service it is extremely helpful ❣️

  • @m.k.s1840
    @m.k.s1840 5 ปีที่แล้ว

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

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

    Loads of love, from Pakistan.

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

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

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

    Thank you. Great explanation.

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

    Really helpful thanks for explaining all the basic concepts

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

    Wonderful, love your video. Thanks so much!

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

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

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

    you are the best!!

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

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

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

    very well explained Venkat

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

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

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

    Thank you. Excellent tutorials.

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

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

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

    Thank you Venkat, you helped me out !

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

    thanks for freshing up my knowledge.

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

    Great presentation.

  • @mr.prasadyadav
    @mr.prasadyadav 3 ปีที่แล้ว

    Thank you Venkat,nice Lecture

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

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

      hoy bhava kadak video banavlay

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

    Awesome 😊 best sql learning videos

  • @user-ft9tp4ss2d
    @user-ft9tp4ss2d 7 ปีที่แล้ว

    You great!.. Thanks for the slides.

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

    Good Videos Venkat !

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

    Its very useful for me, Do more videos on sql

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

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

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

    Truly good tutorial...good job

  • @jamieprater4049
    @jamieprater4049 8 ปีที่แล้ว +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.

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

    It was very helpful

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

    Thank you much for sharing :)

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

    Very well explained😊😊

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

    Thanks... It was helpful

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

    very very good!

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

    I love this video. thanks :)

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

    simply Good.

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

    outstanding!

  • @jdr2.paradigmabiblico128
    @jdr2.paradigmabiblico128 7 ปีที่แล้ว

    Thank you Sir, Great tutorial

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

    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

  • @malharjajoo7393
    @malharjajoo7393 8 ปีที่แล้ว +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';

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

    the best.

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

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

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

    Very detailed explanation

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

    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 ?

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

    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.

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

    Thanks a lot .....

  • @AnnaAnna-ig2yw
    @AnnaAnna-ig2yw 7 ปีที่แล้ว

    thank you!!!

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

    Thanks a lot sir.. thanks

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

    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

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

    great tutorial :)

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

    thank you sir.

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

    Just awesome

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

    superb explanations

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

    great tutorial!!!

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

    Thanks

  • @AzureSkyMusic
    @AzureSkyMusic 9 ปีที่แล้ว +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.

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

    Great !

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

    Revisiting
    Thanks

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

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

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

    ياخي تسلم

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

    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?

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

    Hats off

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

    Hello Sir,
    I am facing some issue please help me on that and correct me if i am wrong.
    I created a Stored Procedure
    CREATE PROCEDURE spGetAllCustCountbyCuntry
    @country_name varchar(100) output,
    @customer_cnt int output
    as
    begin
    SELECT @country_name = Country,@customer_cnt = COUNT(DISTINCT ID)
    FROM Customer
    GROUP BY Country
    ORDER BY Country
    end
    When i execute this
    declare @cnt_name varchar(100) , @cut_cnt int
    execute spGetAllCustCountbyCuntry @country_name = @cnt_name output ,@customer_cnt = @cut_cnt output
    select @cnt_name as country_name , @cut_cnt as customer_count;
    output:
    country_name customer_count
    Venezuela 4
    I am getting only last record from the table not all the records.
    Please reply.

  • @sarthakshah77
    @sarthakshah77 10 ปีที่แล้ว +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 ?

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

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

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

    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.

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

    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.

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

    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

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

    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?

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

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

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

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

      CEUBE89 thanks a lot. it worked.

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

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

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

    No Comment!