first of all, I'm using MySQL 5.1.32 on my Apple Mac with Leopard.
give this a try...
CREATE TABLE a (aid INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(10));
CREATE TABLE b (bid INT NOT NULL AUTO_INCREMENT PRIMARY KEY, aid INT NOT NULL);
DELIMITER //
CREATE PROCEDURE testx()
BEGIN...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.