First things first, this is by far the best course on stored procedures I have come across. So thank you so much! I have a question in regards to the use of the global variables; what if multiple store procedures are running at the same time? Would they interfere with each other when referencing the global variables?
Hi Christopher! You can't declare global variables in T-SQL (at least as far as I know). There are some system functions which begin with @@ (such as @@ROWCOUNT) which Microsoft used to refer to as global variables in earlier versions of SQL Server but they are functions rather than variables. I hope that helps!
Yours are very very helpful thank you, but you might ignore the 'print statement' and go for sql database and show the loop in manipulating the data instead. most of the people are not looking to print messages in sql.
Thanks you are the best .... Guys! other way for better solution for seeing 0 film 9 and 10 oscars line set @numberFilms = (select COUNT(*) from tblFilm f where f.FilmOscarWins = @count) if @numberFilms != 0 begin print cast(@numberFilms as varchar(3)) + ' Films have ' + Cast(@count as varchar(2)) + ' Oscars' end
Very good videos with clear didactic style. I am a highly experienced Oracle pl/sql programmer who wants to have the skill level to convert to a t-sql programmer since my current employability is bit limited. What experience to you have with Oracle developers becoming t-sql/SQL Server programmers in terms of required effort and success rate in finding SQL Server roles? Thx.
What free tool would you recommend? I have tried Camtasia but it only has a free trial period. The issue that I then ran up against is that when I uploaded the video - and perhaps this is due to my inadequacy with UA-cam - it would change resolution during the video, downgrading to the point that it wasn't clear anymore. Whatever advice you could give would be wonderfully useful! Thanks!
Really awl some, I just have a question about the "if ……break" clause, according to the result, the result set will be truncated if @NumFilms=0, but the result for the films that won 11 Oscars is truncated at the same time! We just want to delete the @NumFilms=0 result. How to solve it??
This is a good video showing how it works, but you need to start the video stating clearly that a while loop,recursive CTE's and cursors must be done as last resort and only if you have convinced the DBA that there is absolutely no other way.
More than 10 years and still a master of piece with a clear concept and explanation. Thanks a lot.
Thank you Juan!
Your rhetoric is lucid, controlled, non-persuasive and engrossing. A Masterclass. Thanks, Again.
One of the clearest explanations I've seen. Well done.
First things first, this is by far the best course on stored procedures I have come across. So thank you so much! I have a question in regards to the use of the global variables; what if multiple store procedures are running at the same time? Would they interfere with each other when referencing the global variables?
Hi Christopher!
You can't declare global variables in T-SQL (at least as far as I know). There are some system functions which begin with @@ (such as @@ROWCOUNT) which Microsoft used to refer to as global variables in earlier versions of SQL Server but they are functions rather than variables.
I hope that helps!
@@WiseOwlTutorials Global function makes way more sense. Thanks so much!
@@CNich90 No problem!
I needed to learn store procedures, then I was needing everything in this tutorial in this exact order... you deserve the subscribe!
Happy to hear that you found what you were looking for, Ivo!
Great tutorial! You sound like a wise owl :) It's very pleasant to the ears.
your teaching skill is perfect and your accent is very clear and cute.
Such an amazingly clear video
Thanks! Happy to hear you found it useful, thanks for watching!
Hi,
You've go a nice set of collective videos that are Quiet easy to understand !!
Can I get the resources, like all of the database for my practice?
Good introduction of CURSORS. I enjoyed the video. Thanks
THANKS BRO .... saved me from a big problem!
Thanks - you're tutorials are awesome!
Great, great, great!
Thanks, thanks, thanks! 😀
Great teaching, thank you
Thank you !
you videos are very helpful !
could you please tell me how to go through all rows of one column and print them using loop
Yours are very very helpful thank you, but you might ignore the 'print statement' and go for sql database and show the loop in manipulating the data instead. most of the people are not looking to print messages in sql.
Thanks you are the best .... Guys! other way for better solution for seeing 0 film 9 and 10 oscars line
set @numberFilms = (select COUNT(*) from tblFilm f where f.FilmOscarWins = @count)
if @numberFilms != 0
begin
print cast(@numberFilms as varchar(3)) + ' Films have ' + Cast(@count as varchar(2)) + ' Oscars'
end
a very good video. clear explanations .rock on
Very good videos with clear didactic style. I am a highly experienced Oracle pl/sql programmer who wants to have the skill level to convert to a t-sql programmer since my current employability is bit limited. What experience to you have with Oracle developers becoming t-sql/SQL Server programmers in terms of required effort and success rate in finding SQL Server roles? Thx.
Good one.
Thank you for your very helpful walk-throughs! What software do you use to make your screen capture videos?
What free tool would you recommend? I have tried Camtasia but it only has a free trial period. The issue that I then ran up against is that when I uploaded the video - and perhaps this is due to my inadequacy with UA-cam - it would change resolution during the video, downgrading to the point that it wasn't clear anymore. Whatever advice you could give would be wonderfully useful! Thanks!
thanks man!
Really awl some, I just have a question about the "if ……break" clause, according to the result, the result set will be truncated if @NumFilms=0, but the result for the films that won 11 Oscars is truncated at the same time! We just want to delete the @NumFilms=0 result. How to solve it??
This is exactly what I noticed and was wondering about.
why did you define the films oscar wins as 'MAX'? Wouldn't it work the same without it?
wich two films won 11 oscar?? :O
I thought I was going to have to learn Hindi to learn anything about sql lol. Jk...but still.
This is a good video showing how it works, but you need to start the video stating clearly that a while loop,recursive CTE's and cursors must be done as last resort and only if you have convinced the DBA that there is absolutely no other way.
nah, you don't need to scare newbies off yet at this point