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
——————-
INSERT INTO FLOOR VALUES ( to_date ( ‘2007-12-14 14:10’ , ‘YYYY-MM-DD HH24:MI’ ) );
查询显示:2007-12-14 14:10:00.0
——————-
INSERT INTO FLOOR VALUES ( to_date ( ‘2007-12-14 14’ , ‘YYYY-MM-DD HH24’ ) );
查询显示:2007-12-14 14:00:00.0
——————-
INSERT INTO FLOOR VALUES ( to_date ( ‘2007-11-15’ , ‘YYYY-MM-DD’ ) );
查询显示:2007-11-15 00:00:00.0
——————-
INSERT INTO FLOOR VALUES ( to_date ( ‘2007-09’ , ‘YYYY-MM’ ) );
查询显示:2007-09-01 00:00:00.0
——————-
INSERT INTO FLOOR VALUES ( to_date ( ‘2007’ , ‘YYYY’ ) );
查询显示:2007-05-01 00:00:00.0