Ik krijg een error als ik de SQL wil uitvoeren van OSBanditi:
Fout
SQL-query:
--
-- Gegevens worden uitgevoerd voor tabel `scooters`
--
INSERT INTO `scooters` ( `owner` , `schade` , `waarde` , `soort` , `id` )
VALUES -- --------------------------------------------------------
--
-- Tabelstructuur voor tabel `shoplogs`
--
CREATE TABLE IF NOT EXISTS `shoplogs` (
`shopid` INT( 255 ) NOT NULL AUTO_INCREMENT ,
`login` VARCHAR( 255 ) NOT NULL ,
`ip` VARCHAR( 255 ) NOT NULL ,
`date` DATE NOT NULL ,
`wat` VARCHAR( 255 ) NOT NULL ,
`hoeveel` VARCHAR( 255 ) NOT NULL DEFAULT '1',
`power` VARCHAR( 255 ) NOT NULL ,
`geld` VARCHAR( 255 ) NOT NULL ,
`bijaf` VARCHAR( 255 ) NOT NULL DEFAULT 'Erbij',
PRIMARY KEY ( `shopid` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =5011;
MySQL retourneerde:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE IF NOT EXISTS `shoplogs` (
`shopid` int(255) NOT NULL auto_incre' at line 10