TZSQLProcessor to insert Stored Procedures into MySQL-DB
Posted: 12.04.2006, 23:37
Hello,
I use TZSQLProcessor to create tables and fill them with data via SQL-script for an installation process.
What is not working is to create Stored Procedures in the DB with TZSQLProcessor.
This is an example of a SP code, generated with "MySQL Query Browser":
I tried with several "Delimiter" and "Delimiter Type" settings but with no success.
I use MySQL 5.x and ZEOS 6.5.x
Thanks,
Igotcha
I use TZSQLProcessor to create tables and fill them with data via SQL-script for an installation process.
What is not working is to create Stored Procedures in the DB with TZSQLProcessor.
This is an example of a SP code, generated with "MySQL Query Browser":
Code: Select all
DELIMITER $$
DROP PROCEDURE IF EXISTS `deletelizenz` $$
CREATE PROCEDURE `deletelizenz`(INID INT(6))
BEGIN
DELETE FROM pim_pb_liz WHERE id=INID;
DELETE FROM pim_pb_liz_fl WHERE lizid=INID;
DELETE FROM pim_pb_liz_zr WHERE lizid=INID;
END $$
DELIMITER ;
I use MySQL 5.x and ZEOS 6.5.x
Thanks,
Igotcha