日期:2014-05-16 浏览次数:20663 次
问题:java.sql.SQLException:Value '0000-00-00' can not be represented as java.sql.Date
解决:
drop procedure getAllOrderProc;
delimiter $$
create procedure getAllOrderProc()
??? select date_format( startdate, '%Y-%m-%d') as startdate, date_format( lastdate, '%Y-%m-%d') as lastdate
??? from prodorder$$
delimiter ;
?