Stored procedures with output parameters Part 19
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
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...
Black-hearted idiot
I trying to copy your teaching way and techniques
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 :)
You are master of SQL Server ! Thank you for your videos! Great job!
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.
This is simply great Mr Venkat. Your explanations are perfect!
A bundle of thanks. Very good lectures and easy and simplistic way of disseminating knowledge.
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.
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.
hats off to you Venkat, really lovely explanation. thanks a lot for your wonderful videos,
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.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
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.
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 :)
your videos are just SO GREAT. I feel like it's not fair to watch all for free, is there anywhere to donate?
I think you are totally right. Here you can donate him: www.pragimtech.com/support.aspx
Watch the add until finish? Heard it will give the uploader more?
Yes, of course :-)
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!
+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
Hello Venkat,
Yet another brilliant performance. Both your "topic selection" and "topic explanation" is really awesome.
Regards,
Anurag
Thanks a lot Venkat for explaining SQL concepts in easy to understand videos!
Thanks Kud Venkat for this SQL Server Videos - Love your patience with your virtual students.
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
most professional lectures from this channel on youtube
i never learned about stored procedure in my university life.know i understood it very well you are great venkat thankyou very much
what did you study?
if you studied IT and didn't learn about SP's I would ask for my money back.
Dear Venkat!Thanks a lot for the great job you did
well thanks allot venkat you are the best tutor i ever found on you tube
Men, you are simply the best !!!!!!!!!!!!!!!!!!!!
Venkat Sir, Thanks a lot for the great job you did.👍🙏 You the best.😊😊
thanks for the clear n concise description...ur a grt teacher
You are an excellent teacher, GOD bless you
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 :-)
hoy bhava kadak video banavlay
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
Thank you so much. Your videos are a great help
Very informative video! You explain things really good and is easy to understand :) Thank you
Good Videos Venkat !
Wonderful, love your video. Thanks so much!
Hello Venkat, two words: Excellent and Thanks :-)
Naz
Thank you so much for explaining in clear manner.it is very useful for me
very important when dealing with web applications
Thank you Venkat, you helped me out !
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.
@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'
Thank you. Excellent tutorials.
You are a life saver Sir..Thank You..
Loads of love, from Pakistan.
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.
Really helpful thanks for explaining all the basic concepts
You great!.. Thanks for the slides.
very well explained Venkat
thank you for ur service it is extremely helpful ❣️
Truly good tutorial...good job
Thank you much for sharing :)
Awesome 😊 best sql learning videos
thanks for freshing up my knowledge.
I love this video. thanks :)
Thank you. Great explanation.
Thank you Venkat,nice Lecture
The best of youtube !!!!
Thank you Sir, Great tutorial
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
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.
you are the best!!
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';
great tutorial :)
Thank You Sir
Very Help full Video..Very Nice Sir
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 ?
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?
6iiiiyio9yi
Hkkmvk
Its very useful for me, Do more videos on sql
Amazingly explained concept😊thanks.
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.
Great presentation.
great tutorial!!!
outstanding!
thank you sir.
Thanks... It was helpful
very very good!
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.
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?
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.
Damn , I'm watching this vid in 2021 and it still beats the competition xD
DO you have tutorial for function, and trigger creation as well ? Please Help ! thanks
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
thank you!!!
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 ?
sgdhftarthakss shah HGTmmy
Thanks a lot sir.. thanks
Thank you all ur SQL videos.. please make detailed video on Teradata
Hi
Hi venkant sir from. Where can we get the practice file which you are using
Very well explained😊😊
Thanks a lot .....
superb explanations
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.
the best.
Revisiting
Thanks
Very detailed explanation
Great !
Just awesome
simply Good.
Hi venkat, how to implement stored procedures output parameters in VB.NET ? Can we use the output keyword in VB.Net ?
It was very helpful
Thanks
hi venkat , I actually did noy understand at (11:53) why did you assign @EmployeeCount=@TotalCount. my doubt how @TotalCount get initialized.. plz reply,,
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
Instead of "print spGetModelTotal" you should use "print @TotalModel", because you want to print the value of the variable, not the procedure.
CEUBE89 thanks a lot. it worked.
sir please do a video on how to give identity property only using stored procedure without giving identity property in table
Please how do I get the output of the stored procedure in my vb.net project?
ياخي تسلم