SQL Server Programming Part 5 - IF Statements

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

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

  • @Rational108
    @Rational108 5 лет назад +2

    These are really superb series...all vedios are crisp and clear.. directly goes into brain..I wish I would've come here very long before..but I am sure it will take me beyond from here

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

      Thank you! Happy to hear that you're finding the videos useful. Thanks for watching and for taking the time to leave a comment!

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

    I enjoyed the video.
    Especially BEGIN, END and RETURN key words use.
    Thanks a lot for educating me.

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

    well illustrated and clear explanation , Thank you

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

    I found that I needed to add USE MOVIES before the command at 9:20 for it to work.
    Thanks for the videos.

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

    Great Video. Straight forward and easy to follow. Thank you!

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

    its very simple and goes straight to your mind , thanks for great tutorials !

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

    Bravo! Andrew. Well learned is well taught.Thanks, indeed.

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

    Hard to find such simple explanation....... great n thanks for this informative vid:)

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

    Excellent video .....Nice Teaching....Goood job......Thank you....

  • @JoeG2324
    @JoeG2324 12 лет назад

    Awesome! I appreciate it, that would really help with something I'm working on at work where I have to use a matrix and let the user select the row, column or data fields. The error I was getting referred to a data type issue and I'm not sure what I'm doing wrong in the example - again thank you for your help - your videos are outstanding.

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

    Absolutely first-class. Thanks so much for the education!

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

    2 question please:
    1- What's the purpose of ( ) on the SELECT Statement within the first IF statements, doesn't the BEGIN & END do the job of telling the system what to return?
    2 - Could you have used an ELSE clause for that last statement? if yes, would you need ( ) ?
    Thanks

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

      Hi Bijou,
      1 - The ( ) within the IF statements are not required at all. I may have had a reason for including them (perhaps for aesthetics) but it's over 8 years since I recorded the video so I'm afraid I can't remember what that reason was!
      2 - Yes, you could use an ELSE clause for the final statement (I assume you mean line number 29) but you wouldn't need ( ) here either.
      I hope that helps!

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

      @@WiseOwlTutorials Oh, that makes sense. It might be 8 years old but the course is golden mine for some of us. Thank you.

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

      @@BijouBakson I'm really happy that you're finding it useful, thanks for the support!

  • @Roman-uc3bs
    @Roman-uc3bs 10 лет назад +1

    As written, wouldn't it still return "You must choose ALL, AWARD, or FINANCIAL" even if you DID provide one of those three when executing the procedure? Wouldn't you have to nest those IF statements and then have the last SELECT statement after an ELSE statement?

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

    Awesome videos.Learnt a lot. Enjoyed everymoment

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

    When would you use this instead of case / end statement

  • @anditruman6979
    @anditruman6979 10 лет назад +2

    Hi Andrew,
    excellent video as always.
    Could you post the types of genres there are in the DB?
    Thanks again.
    Andi

  • @eshwarchow9
    @eshwarchow9 12 лет назад

    thanq sir...u provided beautiful explanation for nested-if and if in stored procedures..can i expect videos regarding while,triggers, views from you..

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

    good job, thank you very much, please more :)

  • @dhruvipatel6295
    @dhruvipatel6295 7 лет назад +1

    Sorry sir but I would like to know how to add 'FilmGenreID' in my Film table cuz I don't see that column in table

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

    Thanks very useful sharing

  • @JoeG2324
    @JoeG2324 12 лет назад

    great video. I have a question. Would you be able to do a video on Dynamic Matrices in SSRS? you have a tutorial on your website and I followed it, but i'm getting errors when running the report. i have a requirement to create a report like this, but cant seem to find any documentation online and your link below is the only one that has anything on the subject.

  • @siddharthkhade4557
    @siddharthkhade4557 6 лет назад +1

    great videos. Thank you .

  • @Dara-lj8rk
    @Dara-lj8rk 8 лет назад

    Is there a Elseif statement to replace the nested if?

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

    I tried doing this tutorial and used the database creation file you provided here, but the database does not have the FilmGenreID column in the tblFilm table .... did you make this column in another tutorial that I missed .... or am I missing something altogether? .... Thank you, your tuts are excellent. :-)

    • @Unearthed13
      @Unearthed13 10 лет назад

      No problem sir, just had to make sure I wasn't crazy LOL :-)

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

      :-D ... A Wise Owl you are :-D lol ...again, ty and excellent vids ... the SSRS vids are awesome

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

    I am trying to find exact age for actor using datediff and if statements but can't succeeded van you please help

  • @JoeG2324
    @JoeG2324 12 лет назад

    i cant post the link for some reason, but its on your website.
    MAKE AN SSRS MATRIX DYNAMIC, LIKE A PIVOT TABLE

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

    Great! Thank you so much

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

      You're very welcome Cristian, thanks for watching!

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

    Hi Andrew
    How do I enter data for FilmGenreID?

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

      Hi Nick , you could write an INSERT INTO statement to create a new record in the Film table, or an UPDATE statement to alter an existing record. You could also right-click the table in the Object Explorer window and choose to Edit the records if you prefer to do this by hand.
      I hope that helps!

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

    FilmGenreID is not a valid column in the table called tblFilm.

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

      Hi there, it looks like the download folder didn't include the modified version of the database with the Genre table. That should be fixed now and here's an alternative link you can use to create the Movies database with the Genre table drive.google.com/file/d/1HF30umHFgWIMpkRiPrVFWtOyqbM4341E/view?usp=sharing
      Hope it helps!

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

    thanks a lot, a very helpulful video

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

    thanku brother

  • @miltonziwoya1832
    @miltonziwoya1832 10 лет назад

    helpfu