Тёмный

Stored procedure output parameters or return values Part 20 

kudvenkat
Подписаться 835 тыс.
Просмотров 524 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 101   
@RaihanTaher
@RaihanTaher 7 лет назад
Excellent! Thanks for all your videos. You are amazing. Keep up the good work.
@Csharp-video-tutorialsBlogspot
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 ru-vid.complaylists?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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-y780MwhY70s.html If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. ru-vid.com 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 3 года назад
Thank you so much, Very useful!
@iamboozi
@iamboozi 10 лет назад
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!
@onlineaccount-wh2yx
@onlineaccount-wh2yx 10 месяцев назад
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
@VO1D33
@VO1D33 9 лет назад
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 5 лет назад
Your peculiarly American compliment probably has Mr Venkat scratching his head. :-)
@shivarjunroy1394
@shivarjunroy1394 5 лет назад
Why Shit? Shit is s bad word. Pellicore Ji ,please don't use Shit. Use Great.
@TheJq32
@TheJq32 4 года назад
@@shivarjunroy1394 calling something "the shit" is a compliment meaning it is of the highest quality
@adrienhide
@adrienhide 10 лет назад
Best teacher in the world
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 лет назад
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 6 лет назад
Thanks for your hardwork.. Really Awesome videos.
@ThePixelizedNetwork
@ThePixelizedNetwork 9 лет назад
For the first time he said, "Can we do that? No, we can not.". He usually says "Absolutely" :)
@bledarkulemani3793
@bledarkulemani3793 9 лет назад
lol
@huddini91
@huddini91 7 лет назад
haha
@JoseDraga
@JoseDraga 11 лет назад
Excellent explanations, this is just what I was looking for. Thanks a lot! Greetings from Argentina
@teenachacko7340
@teenachacko7340 5 лет назад
Thank you for all the videos Sir! Every video is simple and easily understandable.
@ronenslonim9656
@ronenslonim9656 3 года назад
Excellent - the best tutorials on SQL that I have seen
@MonderMurshed
@MonderMurshed Год назад
Idk how i can thank u man! very appreciate your hard working.
@hasinmahjabeen7252
@hasinmahjabeen7252 4 года назад
This one is very much resourceful, cleared the concept between them. Thank you.
@joshfraser3991
@joshfraser3991 6 лет назад
I love your videos. And unlike other people you have a large inventory!
@indrapoudel8842
@indrapoudel8842 11 лет назад
I learned so much, Thank you Venkat, you are really a good teacher
@magdarljohn-efe1850
@magdarljohn-efe1850 10 лет назад
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.
@ahmedraees5352
@ahmedraees5352 10 лет назад
Hi Venkat, You are really doing a great job...Please keep it up...Thanks for helping us with these awesome tutorials.
@justinli19901027
@justinli19901027 8 лет назад
this man is a legend!
@immortal5430
@immortal5430 11 лет назад
I mean it sir , you are a master .
@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
@SuperGojeto
@SuperGojeto 8 лет назад
I wish you made Oracle SQL videos also!!!
@veronicaviera4510
@veronicaviera4510 6 лет назад
YOU ARE MY FAVE EVER!!!!!!!!!!!!!!!
@piyasidey2117
@piyasidey2117 8 лет назад
You are the best....Thank You very much Sir ...
@amiableyoutuber723
@amiableyoutuber723 8 лет назад
Venkat, Stored procedure can return text values as well , if you declare the return type
@shashidharsuroju3940
@shashidharsuroju3940 11 лет назад
awesome tutorial .superb presentation .
@saharazeem5588
@saharazeem5588 5 лет назад
Venakt thank you so much you are great
@shashidharc9122
@shashidharc9122 5 лет назад
Best till date
@mohit4230
@mohit4230 9 лет назад
Really Amazing videos Sir!!
@berzaipeter2736
@berzaipeter2736 3 года назад
In which video you created spGetNameById? Because I looked in the previous and the one before, and sadly didn't found that.
@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.
@RamaKrishna-ll8iz
@RamaKrishna-ll8iz 8 месяцев назад
Hi, Could you please help me to understand why output parameters needed when we can get same result using input parameters
@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.
@zaminhassnain7570
@zaminhassnain7570 7 лет назад
Awesome video.. have you also made video related to normalization ?
@mandeepsingh175
@mandeepsingh175 7 лет назад
Hello @Kudvenkat - Can we get multiple rows using outpur parameter in Stored proc?? Plz answer
@lipunpatel5937
@lipunpatel5937 Год назад
Can Output parameter be of Temp Table or Table Variable data type ?
@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
@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 6 лет назад
yes it can have more than one output parameters
@arthurpoghosyan7231
@arthurpoghosyan7231 2 года назад
Great job. Does anyone has the dataset of this SQL series? Please it will help me a lot.
@jhonatansiles4455
@jhonatansiles4455 7 лет назад
Thanks a lot !
@sikandar361
@sikandar361 5 лет назад
Sir, I've used a similar syntax in SQL developer but it caused an error?
@gregorym7598
@gregorym7598 4 года назад
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...
@vxragun80
@vxragun80 10 лет назад
Hi Kudvenkat, Excellent videos with good explanations for all SQL Server topics. Thanks for helping us with these awesome tutorials.
@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?
@JonathanIsmaila
@JonathanIsmaila 4 года назад
Please how do I get the output value in my visual studio project?
@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
@ssbigdata6732
@ssbigdata6732 3 года назад
Thankyou
@gkmishra2009
@gkmishra2009 2 года назад
great
@jimmyd12349
@jimmyd12349 6 лет назад
where can i download that sample database? i wanna use it as practice..
@williamwei7899
@williamwei7899 4 года назад
After watching this, I can't help wondering why we need return value...
@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
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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ETepOVi7Xk8.html
@stutitehri993
@stutitehri993 10 лет назад
output paramters are very important than return values
@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...
@Capistream8bits
@Capistream8bits 7 лет назад
Thank you for playing...
@011010a
@011010a 11 лет назад
Thanks Sir
@deepakbhardwaj5432
@deepakbhardwaj5432 4 года назад
Please make on Universal Windows Platform
@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
@univuniveral9713
@univuniveral9713 7 лет назад
Please can someone tell me the difference between PRINT and SELECT?
@nikhilal3563
@nikhilal3563 6 лет назад
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)
@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
@JonathanIsmaila
@JonathanIsmaila 4 года назад
Please how do I get the output value in my visual studio project?
@lavanyaarumugam4055
@lavanyaarumugam4055 9 лет назад
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
@secretlives2734
@secretlives2734 8 лет назад
thanks
@JonathanIsmaila
@JonathanIsmaila 4 года назад
Please how do I get the output value in my visual studio project?
@TheManHimself06
@TheManHimself06 6 лет назад
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 лет назад
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
@denitsageorgieva7209
@denitsageorgieva7209 Год назад
You explain really well! I love your course!!
@DevilSoul969
@DevilSoul969 5 месяцев назад
Best vedio useful 👏
@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 ?
@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....
@RandomGameHall
@RandomGameHall 11 лет назад
good videos. u have all the required content organised. gonna be useful
@nimeshambalalpatel3032
@nimeshambalalpatel3032 3 года назад
Excellent video teaching sir!!! We pray for your good health !! My Pranams
@devi07461
@devi07461 11 лет назад
hi hari thae power point presentaion is in his blog you can check it once
@magdarljohn-efe1850
@magdarljohn-efe1850 10 лет назад
Thanks Tuomo. I appreciate your response.
@shipperification
@shipperification 4 года назад
Can we return a table using stored proecdures?
@tseyontadesse7983
@tseyontadesse7983 4 года назад
you are just unbelievably amazing
@ItsGreeshma
@ItsGreeshma Год назад
Best course I came across so far.
@pramodmaurya6610
@pramodmaurya6610 6 лет назад
Thanks.. thanks.. thanks
@priyanksatasiya1366
@priyanksatasiya1366 4 года назад
just awesome....
@sandythandu
@sandythandu 11 лет назад
Thanks for all videos
@mouradbarakat123
@mouradbarakat123 12 лет назад
GREAT WORK!
@prajapati22
@prajapati22 11 лет назад
Thank you
@chandukumar359
@chandukumar359 6 лет назад
create proc my as begin return 1; end declare @id int ; exec @id =my select @id
Далее
Advantages of stored procedures   Part 21
11:10
Просмотров 400 тыс.
Stored procedures with output parameters   Part 19
18:20
Просмотров 781 тыс.
TEAM SPIRIT: НОВЫЙ СОСТАВ. SEASON 24-25
01:31
Built in string functions in sql server 2008 Part 22
16:14
Stored procedures in sql server   Part 18
20:11
Просмотров 1,5 млн
Views in sql server   Part 39
14:51
Просмотров 591 тыс.
75 How to debug stored procedure in sql server
14:41
Просмотров 16 тыс.
Scalar user defined functions in sql server   Part 30
19:07
Indexes in sql server   Part 35
11:13
Просмотров 837 тыс.