https://www.icyphoenix.com/viewtopic.php?f=17&t=10165&p=62176#p62176
-----------------------------------
mort
Thu 05 Mar, 2020 14:24

Re: Db Query Returning "Error" ?
-----------------------------------
No, I'm the problem!  :P 

I left the semi-quote off the end of values.. and it won't install if any of the brackets are removed ?

Here's what works. And there isn't going to be any data - They are just for switching.  :mricy: 

[code linenumbers=false]CREATE TABLE gnu_max (
  max3 tinyint(1) NULL DEFAULT '3',
  max4 tinyint(1) NULL DEFAULT '4',
  max5 tinyint(1) NULL DEFAULT '5',
  max6 tinyint(1) NULL DEFAULT '6',
  max7 tinyint(1) NULL DEFAULT '7',
  max8 tinyint(1) NULL DEFAULT '8',
  max9 tinyint(1) NULL DEFAULT '9',
  max10 tinyint(1) NULL DEFAULT '10',
  max20 tinyint(1) NULL DEFAULT '20',
  max30 tinyint(1) NULL DEFAULT '30',
  max40 tinyint(1) NULL DEFAULT '40',
  max50 tinyint(1) NULL DEFAULT '50',
  max60 tinyint(1) NULL DEFAULT '60',
  max70 tinyint(1) NULL DEFAULT '70',
  max80 tinyint(1) NULL DEFAULT '80',
  max90 tinyint(1) NULL DEFAULT '90',
  max100 tinyint(1) NULL DEFAULT '100'
)
  ENGINE=MyISAM DEFAULT CHARSET=utf8;

  INSERT INTO gnu_max VALUES (3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100);[/code]


