create procedure sp_cube_inverter_d (in p_nowdate datetime)
begin
declare v_nowdate char(8);
declare v_curdate datetime;
set v_curdate = left(p_nowdate,10);
set v_nowdate = replace(cast(v_curdate as char(10)),'-','');
>[错误] 脚本行:1-90 -------------------------------------- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure sp_cube_inverter_d ( in p_nowdate datetime) begin declare v_nowdate ' at line 45
警告:---> W (1): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure sp_cube_inverter_d ( in p_nowdate datetime) begin declare v_nowdate ' at line 45