ich wollte mal fragen, wie man mit dieser Art von Querie umgeht?
-> Wie fügt man sie richtig in Navicat ein? Ist das wie bei einer Item_Proto?
PHP Code:
CREATE TABLE `psc_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`account_id` int(11) NOT NULL,
`admin_id` int(11) DEFAULT NULL,
`card_type` varchar(20) NOT NULL,
`waehrung` varchar(10) NOT NULL,
`psc_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`psc_betrag` decimal(5,2) NOT NULL,
`psc_pass` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`status` int(1) NOT NULL,
`kommentar` varchar(200) NOT NULL,
`datum` datetime NOT NULL,
`bonuspercent` int(10) NOT NULL,
PRIMARY KEY (`id`);
€ Beim Einfügen kommt das hier:
PHP Code:
[Err] 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 '' at line 14







