Mysql stored procedure where clause

Posted by Mneva skoko on Stack Overflow See other posts from Stack Overflow or by Mneva skoko
Published on 2010-04-16T20:25:43Z Indexed on 2010/04/16 20:33 UTC
Read the original article Hit count: 291

Filed under:
|
|

I am having a problem with this stored procedure:

Delimiter //
Create procedure(in varchar(50))
Begin
  Select * from employees where email = eml;
End//
Delimiter ;

I don't get errors when I run this procedure but when i call it in my php script it returns nothing.

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql