MySQL Database Tutorial - 30 - NOT NULL & AUTO INCREMENT

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024
  • Source Code: github.com/the...
    Core Deployment Guide (AWS): docs.google.co...

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

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

    I think this one is the most hard but also useful tutorials about SQL

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

    Omg, amazing! I've been reading a tut on this and was pretty lost. Now I understand this and like 3 other things I wasn't too sure on. Thanks!

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

    If you need french translations for your tutorials... That's the only fucking thing that I can do to thank you for all you learned to me.

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

    great tutorials...!!!
    Thanks Bucky

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

    I got to say: After subscribing to Bucky's videos...BAM! I got BACON on the TABLE!!

  • @ZacK-qu9rz
    @ZacK-qu9rz 6 лет назад

    did he just pack a lip/throw in a bomb at 6:43? packing that Copenhagen longcut I like it

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

    Great tutorials, thanks for this..

  • @shashgo
    @shashgo 7 лет назад

    never mind I got it, I was altering the wrong row to say I wanted to be able to enter a NULL value

  • @Handle_EzSubs
    @Handle_EzSubs 9 лет назад +2

    What's the point of adding NOT NULL to the primary key if the user won't even have the option to change the primary key?

    • @anasalami9112
      @anasalami9112 7 лет назад

      the admin doesn't always want users to choose or modify the primary key, for example, this video's id on the URL, it is unique for this video and it is NOT NULL but the user didn't choose it.

    • @evgenikuzmov1606
      @evgenikuzmov1606 7 лет назад

      you can change your id in Vkontakte(social network)

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

    Hi Bucky! Would you show us how to make some web apps with Python or Java?

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

    When will you be finishing the python game tut's?

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

    Thank you sooooo much

  • @sajalsangal1436
    @sajalsangal1436 4 года назад

    I tried leaving the data blank after using NOT NULL but it does not show error, though I don't see 'NULL' in the text field but still it accepts if I don't type anything and insert row.

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

    I coded something up and my auto increment skips random times....can u let me know why,....thanks...i use id with auto increment ....

  • @sushanttavrawala8394
    @sushanttavrawala8394 9 лет назад +2

    It creates auto increment in the database for ex.
    1. abc-- 2. def --3. ghi
    but if admin has deleted 1st record ABC... and than add new record as JKL, database automatically add to number 4 slot...
    4. jkl
    How can i make it correct as 1.def -- 2. GHI -- 3. jkl????
    plz help!!!

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

    how do you edit the variables from NOT NULL to blank or vice versa, or to add auto inc if the table was created already?

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

    At last he uses "bacon", feeling sad for tuna.

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

    @safizzleful What do you mean by "stuffs"?

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

    thank u

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

    Bacon is never stupid

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

    is it possible to create a table inside a table?

  • @shashgo
    @shashgo 7 лет назад

    hey bucky, I am trying to create a row where one of the values is NULL, but I keep getting an error. I am using the same myPHPadmin that you are using, but can you tell me how I should create the structure so that it does allow me to put in a NULL value?

    • @pentox6692
      @pentox6692 7 лет назад

      Just don't put anything, it will default to null.
      So for example username varchar(30) will default to NULL, but username varchar(30) NOT NULL won't.

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

    Bucky where is 31 and 32?

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

    how do you connect tables and stuff

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

    Man could u make minecraft modding tutorials

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

    BACON!!!

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

    I would make the `username` a UNIQUE key too

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

    its good and easy

  • @reeseleigh2141
    @reeseleigh2141 8 лет назад

    hello, is there a possible that I could create AUTO INCREMENT using VARCHAR?

  • @majacar4126
    @majacar4126 8 лет назад +13

    "His password is pasword because he is an idiot" LOL.

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

    slambacon :)

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

    Me fcuking too! BTW the comment you replied was removed, just sayin

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

    You have a deep scratch in your disk XP

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

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

    What did I say? Nut?

  • @scholarshippafrica8991
    @scholarshippafrica8991 4 года назад

    nut null :)

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

    @ondari90 watch?v=ELI2-pEk1FY

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

    6:20 - MySQL Is a male.