摘要: create table A( id number(2) primary key, temp date); commit; insert into A values (1,to_date('2016-1-1','yyyy-mm-dd')); commit; select * from A; drop 阅读全文
posted @ 2017-05-21 11:55 Jachin 阅读(176) 评论(0) 推荐(0)
摘要: 往Oracle数据库中插入日期型数据(to_date的用法) INSERT INTO FLOOR VALUES ( to_date ( '2007-12-20 18:31:34' , 'YYYY-MM-DD HH24:MI:SS' ) ) ; 查询显示:2007-12-20 18:31:34.0 I 阅读全文
posted @ 2017-05-21 11:23 Jachin 阅读(332) 评论(0) 推荐(0)