运用储存发 传入一个日期 ,返回形式 xx年xx月xx日并返回
create procedure mys10 (in date datetime,out time varchar )
begin
select date_format(my,'%年%m月%d日') into time;
end $
call mys10(now,@xx)$
select @ xx $