Insert variable

Discussion in 'MySQL' started by BubikolRamios, Dec 17, 2020.

  1. #1
    So, this works and as you see it produces -1,-2,......
    If I insert
    after SET line....
    Hmm looks like all -1,-2,... becomes 0 or what ?

    [​IMG]
     
    BubikolRamios, Dec 17, 2020 IP
  2. BubikolRamios

    BubikolRamios Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    Problem: Inserting anything negative into INT unsigned turns it to 0 before insert, hence such confusing error message.
     
    BubikolRamios, Dec 18, 2020 IP