I'm trying to write a stored procedure to insert data into a table.
The procedure which I wrote is:
CREATE PROCEDURE insrtem (IN x int(3),IN y varchar(3))
BEGIN
insert into emp (empid,empname) values (x,y);
END;
but it doesn't work.
What's the correct syntax?