php - mySQL stored procedure not returning the value it should -
any idea why:
create definer = `root` @`%` procedure `geteventdata` (in id int) begin select * `event` `id` = id ; end $$
returns every row in event
table when there single record id (which primary key) 4?
just else has same question aware, apparently can't use parameter same name column you're checking.
Comments
Post a Comment