MySQL Forums
Forum List  »  Oracle

Re: Writing stored procedures and functions in MySQL
Posted by: T V
Date: April 17, 2008 10:43AM

I am using
mysql database version is : 5.0.45.community-nt;

problem :
create table mytest (id int, sname varchar(15));

create procedure sp_mytest (id int, sname varchar(15))
Begin
Update tiltest set sname=sname where id=id;
End;

If i execute it :
call sp_tiltest(1,'mynametest');

It is updating all rows, what is the problem. Can the community please help me.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Writing stored procedures and functions in MySQL
3989
T V
April 17, 2008 10:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.