I have a problem, I am trying to store the current date and time of the server in a variable, within a procedure stored in MySQL, only I can not do it, the previous thing I do, since in multiple rows I will execute a relative condition to the current date and time and it would be an over load to make a select now () in each row. I am trying it in the following way but it is not stored, it is only shown:
CREATE DEFINER='Cliente'@'%' PROCEDURE 'TblEmpleados'()
BEGIN
select @mivariable := now();
END