Onizuka
Member
- Joined
- Jul 5, 2008
- Messages
- 2,291
- Reaction score
- 14
Code:
Error
SQL query:
DELIMITER | CREATE TRIGGER `ondelete_accounts` BEFORE DELETE ON `accounts` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `type` NOT IN ( 1, 2 ) AND `value` = OLD.`id` ;
MySQL said: Documentation
#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 'DELIMITER |
CREATE TRIGGER `ondelete_accounts`
BEFORE DELETE
ON `accounts`
FOR ' at line 1
After importing to a new database schemal.mysql from new Tfs
TFS 0.3b3
i get this error ;/
any1?;(