DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `new_procedure`(_action varchar(10) ,File varchar(100)) BEGIN if _action = 'INSERT' then insert into tab_file (File) values (File); end if; if _action = 'select' then select ID,File from tab_file; end if; END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)