SQL Server Programming Part 6 - WHILE Loops

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 41

  • @juanisidrodiaz3093
    @juanisidrodiaz3093 Рік тому +8

    More than 10 years and still a master of piece with a clear concept and explanation. Thanks a lot.

  • @mistery4437
    @mistery4437 9 років тому +12

    Your rhetoric is lucid, controlled, non-persuasive and engrossing. A Masterclass. Thanks, Again.

  • @marcjohnson6621
    @marcjohnson6621 11 років тому +5

    One of the clearest explanations I've seen. Well done.

  • @CNich90
    @CNich90 10 місяців тому +1

    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?

    • @WiseOwlTutorials
      @WiseOwlTutorials  10 місяців тому

      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!

    • @CNich90
      @CNich90 10 місяців тому +1

      @@WiseOwlTutorials Global function makes way more sense. Thanks so much!

    • @WiseOwlTutorials
      @WiseOwlTutorials  10 місяців тому

      @@CNich90 No problem!

  • @koporcic
    @koporcic 4 роки тому +2

    I needed to learn store procedures, then I was needing everything in this tutorial in this exact order... you deserve the subscribe!

    • @WiseOwlTutorials
      @WiseOwlTutorials  4 роки тому

      Happy to hear that you found what you were looking for, Ivo!

  • @michaelo8622
    @michaelo8622 9 років тому +4

    Great tutorial! You sound like a wise owl :) It's very pleasant to the ears.

  • @m.a.saberi7606
    @m.a.saberi7606 6 років тому +1

    your teaching skill is perfect and your accent is very clear and cute.

  • @zerolosi
    @zerolosi 3 роки тому +1

    Such an amazingly clear video

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 роки тому

      Thanks! Happy to hear you found it useful, thanks for watching!

  • @jefrinraj5482
    @jefrinraj5482 2 місяці тому

    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?

  • @krismaly
    @krismaly 11 років тому

    Good introduction of CURSORS. I enjoyed the video. Thanks

  • @estuardojuchuna
    @estuardojuchuna 8 років тому +1

    THANKS BRO .... saved me from a big problem!

  • @RayanJawad110
    @RayanJawad110 11 років тому +1

    Thanks - you're tutorials are awesome!

  • @elvinabdullayev2451
    @elvinabdullayev2451 11 місяців тому +1

    Great, great, great!

  • @lagz89
    @lagz89 4 роки тому

    Great teaching, thank you

  • @1_Piyush
    @1_Piyush 4 роки тому

    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

  • @shahimkhlaifat
    @shahimkhlaifat 10 років тому +1

    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.

  • @mehmethuseyinozcan
    @mehmethuseyinozcan 7 років тому +1

    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

  • @gildewinter4185
    @gildewinter4185 8 років тому

    a very good video. clear explanations .rock on

  • @lb33isu
    @lb33isu 7 років тому

    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.

  • @loam
    @loam 5 років тому

    Good one.

  • @BenChi87
    @BenChi87 10 років тому

    Thank you for your very helpful walk-throughs! What software do you use to make your screen capture videos?

    • @BenChi87
      @BenChi87 10 років тому

      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!

  • @evancito2
    @evancito2 9 років тому

    thanks man!

  • @xwan2737
    @xwan2737 10 років тому

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

    • @jw11432
      @jw11432 2 роки тому

      This is exactly what I noticed and was wondering about.

  • @adifrenkenberg
    @adifrenkenberg 5 років тому

    why did you define the films oscar wins as 'MAX'? Wouldn't it work the same without it?

  • @jesusernestocasteloestrada6535
    @jesusernestocasteloestrada6535 6 років тому

    wich two films won 11 oscar?? :O

  • @hardbrocklife
    @hardbrocklife 4 роки тому +2

    I thought I was going to have to learn Hindi to learn anything about sql lol. Jk...but still.

  • @Hjominbonrun
    @Hjominbonrun 10 років тому

    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.

    • @jackroark6928
      @jackroark6928 6 років тому +1

      nah, you don't need to scare newbies off yet at this point