Hi
For testing & developing I try to create a stored proc using the mysql query
tool.
But it complains about syntax. I've tried to see what help and other samples
could return but they do not write about how it really must be done..
this is syntactically a right proc body
create procedure doit
(@p int)
AS
BEGIN
SELECT * FROM TEST2 WHERE id = @p ;
END
For testing & developing I try to create a stored proc using the mysql query
tool.
But it complains about syntax. I've tried to see what help and other samples
could return but they do not write about how it really must be done..
this is syntactically a right proc body
create procedure doit
(@p int)
AS
BEGIN
SELECT * FROM TEST2 WHERE id = @p ;
END
Comment