摘要: 1. to_date 字符串转为时间 select to_date('2012-08','yyyy-mm-dd') - interval'1 day'-- 将某个月份转换为日期(当月第一天),然后减一天得到上个月最后一天 2. to_char 时间转为字符串 select to_char(cast( 阅读全文
posted @ 2020-12-03 11:12 10132714 阅读(352) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-12-03 10:59 10132714 阅读(3) 评论(0) 推荐(0) 编辑