DELIMITER $$
USE `employee`$$
DROP PROCEDURE IF EXISTS `selectemployeebyids`$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `selectemployeebyids`(IN empid VARCHAR(100))
BEGIN
SELECT empname,salary,department from emp where empid IN (empid) ORDER BY empid;
END$$
DELIMITER ;
can anyone please help me
With Regards
Manju K
After trying lot i find instead of
IN(),FIND_IN_SET()works for me.