Skip navigation links

MySQL Forums


Advanced Search

Stored Procedures Help please
Posted by: Ajeet Chadha ()
Date: November 01, 2009 12:18AM

I have made stored procedures in Oracle...but need to export them to mysql. I have searched on google but cant figure out the syntax.

Here is the oracle procedure:


create or replace procedure delgroup
(g_id in number)

is

begin

DELETE FROM grouptable WHERE GROUP_ID=g_id;

commit;
end;


I jus basically want to delete the group from the group table..depending on which group id (the arguement) the user types in.

How would i do this exact same procedure in mysql?

Please some assistance guys :)

Options: ReplyQuote


Subject Views Written By Posted
Stored Procedures Help please 229 Ajeet Chadha 11/01/2009 12:18AM
Re: Stored Procedures Help please 135 Chad Bourque 11/01/2009 10:20AM


Sorry, only registered users may post in this forum.