日期:2014-05-16 浏览次数:20466 次
SELECT VARCHAR_FORMAT(current timestamp - (MONTH (current timestamp) -1 )months-(DAY (current timestamp) -1 )days,'yyyy-mm-dd') FROM sysibm.sysdummy1