随笔- 807
文章- 150
评论- 23
阅读-
151万
随笔分类 - Oracle 0-2 数据类型
Oracle 日期型 将timestamp类型转换为date类型
摘要:Oracle将timestamp类型转换为date类型有三种方法 1、使用to_char先转为字符型,在使用to_date再转为日期型 select to_date(to_char(systimestamp,'yyyy/mm/dd hh24:mi:ss'),'yyyy/mm/dd hh24:mi:s
阅读全文