Hi,
i want to start the script case training, but i have problems importing the mysqlfile.
I found the reason in the stored procedures:
[sup]/procedures/
CREATE PROCEDURE INSERT_CATEGORIES
(IN CategoryName VARCHAR(15), IN Description TEXT, IN Picture VARCHAR(50))
NOT DETERMINISTIC
SQL SECURITY DEFINER
COMMENT ‘’
BEGIN
INSERT INTO categories(CategoryName,Description,Picture)values(CategoryName,Description,Picture);
END;
CREATE PROCEDURE UPDATE_CATEGORIES
(IN CategoryID INTEGER ,IN CategoryName VARCHAR(15), IN Description TEXT, IN Picture VARCHAR(50))
NOT DETERMINISTIC
SQL SECURITY DEFINER
COMMENT ‘’
BEGIN
UPDATE categories SET CategoryName = CategoryName,Description = Description,Picture = Picture
WHERE CategoryID = CategoryID;
END;
CREATE PROCEDURE DELETE_CATEGORIES
(IN CategoryID INTEGER)
NOT DETERMINISTIC
SQL SECURITY DEFINER
COMMENT ‘’
BEGIN
DELETE FROM categories WHERE CategoryID = CategoryID;
END;
[/sup]
There always comes the failure:
#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 6
Any Ideas?
Thanks
Norman