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.
Subject
Views
Written By
Posted
11741
February 08, 2005 05:31AM
5677
February 08, 2005 04:42PM
Re: Writing stored procedures and functions in MySQL
3989
April 17, 2008 10:43AM
3389
April 29, 2008 01:03AM
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.