Learning MySQL - Numeric DataTypes

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

КОМЕНТАРІ • 7

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

    Loving this series so far. Great information and wonderfully presented. Thank you for providing links to the documentation as well. That really helps as I take notes.

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

    love shit this guy does

  • @Maccelerate
    @Maccelerate 5 років тому +3

    Awesome video!

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

    Hi Steve, I'm loving the course. I think you're wrong about what tinyint(1) does though. My understanding is tinyint = 1 byte of data (-128 to 127). The 1 in parens specifies the display width, not the number of bits.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  2 роки тому +2

      What you wrote is correct. tinyint does cover the range -128 to 127 OR 0 to 255 if unsigned.
      If I said or implied otherwise I misspoke. Thanks.

  • @Lennings82
    @Lennings82 Рік тому

    is it possible to reset an auto incrementer? or to fill up space that has been deleted before.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  Рік тому

      You can change the next available value for the auto increment but if you set it back to a value from a gap then it will fail when it reaches a conflict with an existing value.