Stored procedures with output parameters Part 19

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024

Комментарии • 160

  • @kevintech5728
    @kevintech5728 8 лет назад +97

    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

    • @AslamAnsariTravel
      @AslamAnsariTravel 4 года назад

      I trying to copy your teaching way and techniques

  • @NazaninYari
    @NazaninYari 7 лет назад +50

    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 :-)

  • @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 :)

  • @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.

  • @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.

  • @krzysztofs8535
    @krzysztofs8535 7 лет назад +2

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

  • @MrSam901
    @MrSam901 9 лет назад +3

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

  • @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 :)

  • @Gigantum1000
    @Gigantum1000 9 лет назад +3

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

  • @maheshs8382
    @maheshs8382 9 лет назад +4

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

  • @sanketkondvilkar0747
    @sanketkondvilkar0747 2 года назад +1

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

  • @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.

  • @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.

  • @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
      ruclips.net/user/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
      ruclips.net/video/y780MwhY70s/видео.html
      Want to receive email alerts, when new videos are uploaded, please subscribe to our channel using the link below
      ruclips.net/user/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

  • @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.

  • @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.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @AhmedHassan-wt7ss
    @AhmedHassan-wt7ss 6 лет назад

    most professional lectures from this channel on youtube

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

  • @bshaider
    @bshaider 7 лет назад

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

  • @ihabfam1059
    @ihabfam1059 5 лет назад +1

    You are an excellent teacher, GOD bless you

  • @abduljelilali568
    @abduljelilali568 10 лет назад +16

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

  • @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.

  • @nabilaalam1320
    @nabilaalam1320 4 года назад

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

  • @chitaliscool
    @chitaliscool 11 лет назад +1

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

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

  • @m.k.s1840
    @m.k.s1840 5 лет назад

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

  • @kunapareddyjanaki1039
    @kunapareddyjanaki1039 9 лет назад

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

  • @LarsRyeJeppesen
    @LarsRyeJeppesen 10 лет назад +1

    Thank you so much. Your videos are a great help

  • @stutitehri993
    @stutitehri993 10 лет назад +9

    very important when dealing with web applications

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

  • @MyLubimishBabyLove
    @MyLubimishBabyLove Год назад

    Thank you. Great explanation.

  • @hera-12
    @hera-12 2 года назад

    thank you for ur service it is extremely helpful ❣️

  • @faizaarakkal4078
    @faizaarakkal4078 4 года назад

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

  • @shubhambhatia6504
    @shubhambhatia6504 3 года назад

    Really helpful thanks for explaining all the basic concepts

  • @mathewmuandange8110
    @mathewmuandange8110 7 лет назад

    Thank you Venkat, you helped me out !

  • @phuongtdo4100
    @phuongtdo4100 7 лет назад

    Wonderful, love your video. Thanks so much!

  • @ahsanraza6871
    @ahsanraza6871 7 лет назад

    Loads of love, from Pakistan.

  • @piyasidey2117
    @piyasidey2117 8 лет назад

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

  • @koushikpushadapu8424
    @koushikpushadapu8424 3 года назад +1

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

  • @ProphecyMzwah
    @ProphecyMzwah 5 лет назад

    Thank you. Excellent tutorials.

  • @nazman999
    @nazman999 11 лет назад +1

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

  • @mr.prasadyadav
    @mr.prasadyadav 3 года назад

    Thank you Venkat,nice Lecture

  • @Suecia2020
    @Suecia2020 9 месяцев назад

    The best of youtube !!!!

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    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.

  • @ambujaapineni1961
    @ambujaapineni1961 3 года назад

    Its very useful for me, Do more videos on sql

  • @jandeman8410
    @jandeman8410 6 лет назад

    thanks for freshing up my knowledge.

  • @DataAnalyticalThoughts
    @DataAnalyticalThoughts 4 года назад

    Awesome 😊 best sql learning videos

  • @rira4956
    @rira4956 9 лет назад +1

    Good Videos Venkat !

  • @akkibhatt
    @akkibhatt 7 лет назад

    Truly good tutorial...good job

  • @TAZCreationsOfficial
    @TAZCreationsOfficial 11 месяцев назад

    Great presentation.

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

  • @user-ft9tp4ss2d
    @user-ft9tp4ss2d 7 лет назад

    You great!.. Thanks for the slides.

  • @darikterfa624
    @darikterfa624 4 года назад

    you are the best!!

  • @programmeseekho2795
    @programmeseekho2795 6 лет назад

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

  • @aftabmehdi3460
    @aftabmehdi3460 Год назад

    very well explained Venkat

  • @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.

  • @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 ?

  • @bhagyashreetheone
    @bhagyashreetheone 6 лет назад

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

  • @rohitjaiswal8116
    @rohitjaiswal8116 4 года назад

    Thanks... It was helpful

  • @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.

  • @jdr2.paradigmabiblico128
    @jdr2.paradigmabiblico128 7 лет назад

    Thank you Sir, Great tutorial

  • @rockstar3926
    @rockstar3926 9 лет назад +1

    Thank you much for sharing :)

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

  • @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?

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

  • @rivaimuchlis
    @rivaimuchlis 8 лет назад

    I love this video. thanks :)

  • @guotinghust
    @guotinghust 10 лет назад +1

    very very good!

  • @nuthouse99
    @nuthouse99 10 лет назад +1

    outstanding!

  • @Kubes82
    @Kubes82 4 года назад

    Very detailed explanation

  • @saiganeshtadi2541
    @saiganeshtadi2541 3 года назад

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

  • @namratanikam7566
    @namratanikam7566 3 года назад

    Very well explained😊😊

  • @MGcreations235
    @MGcreations235 Год назад

    It was very helpful

  • @kavithavishwanathen6778
    @kavithavishwanathen6778 7 лет назад

    Thanks a lot .....

  • @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.

  • @pramodmaurya6610
    @pramodmaurya6610 6 лет назад

    Thanks a lot sir.. thanks

  • @aameraftab8767
    @aameraftab8767 6 лет назад

    superb explanations

  • @nabeeulla
    @nabeeulla 3 года назад

    simply Good.

  • @drallisimo34
    @drallisimo34 7 лет назад

    great tutorial!!!

  • @sijimathew9982
    @sijimathew9982 8 лет назад +1

    thank you sir.

  • @georgenadareishvili9771
    @georgenadareishvili9771 10 лет назад +1

    great tutorial :)

  • @aryalakshmi196
    @aryalakshmi196 2 года назад

    Just awesome

  • @korabballanca4787
    @korabballanca4787 9 лет назад +1

    the best.

  • @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 ?

  • @AnnaAnna-ig2yw
    @AnnaAnna-ig2yw 7 лет назад

    thank you!!!

  • @UmeshSnBrave
    @UmeshSnBrave 9 лет назад +1

    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.

  • @ymtan
    @ymtan 11 лет назад

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

  • @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.

  • @karritarri
    @karritarri 8 лет назад

    Great !

  • @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,,

  • @SuperOnlyP
    @SuperOnlyP 8 лет назад

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

  • @ankitasonawane9879
    @ankitasonawane9879 11 лет назад +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.

  • @krismaly6300
    @krismaly6300 9 лет назад +1

    Revisiting
    Thanks

  • @harikas1675
    @harikas1675 9 лет назад

    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?

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

  • @deepakdutt9722
    @deepakdutt9722 3 года назад

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

  • @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.

  • @bextla3737
    @bextla3737 4 года назад

    what is differ @Totalcount out and @Totalcount ?

  • @shahzaibriaz6552
    @shahzaibriaz6552 6 лет назад

    Someone Notice that,
    We are using the ( = ) operator for "assignment" and also for "equality" checking.