摘要:
select substr('abcdefg',3) from dual;--cdefg--substr 截取 起始位置0和1是一样select substr('abcdefg',0,3) from dual--abc select substr('abcdefg',1,3) from dual-- 阅读全文
posted @ 2018-05-11 14:35
wupf
阅读(150)
评论(0)
推荐(0)
摘要:
1,【trunc(for dates)】TRUNC()函数处理日期select trunc(sysdate,'yy') from dual;--返回当年第一天select trunc(sysdate,'mm') from dual;--返回当月的第一天select trunc(sysdate,'dd 阅读全文
posted @ 2018-05-11 13:52
wupf
阅读(313)
评论(0)
推荐(0)

浙公网安备 33010602011771号