SA-MP Forums Archive
error 1064 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 1064 (/showthread.php?tid=370488)



error 1064 - BoomShnizel - 20.08.2012

Код:
DROP TABLE IF EXISTS `lotto`;
CREATE TABLE `lotto` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `id` int(11) NOT NULL,
  `number` int(11) NOT NULL,
  PRIMARY KEY (`tid`) USING BTREE
) ENGINE = MYISAM CHARACTER SET latin1 COLLATE latin1_bin;
THE ERROR:
Код:
Script line: 1560	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 'USING BTREE
) ENGINE = MYISAM CHARACTER SET latin1 COLLATE latin1_bin' at line 5