I wish to view my column time as hh24:mi:ss but even i insert it as to_date( 13:00:00 , hh24:mi:ss ). It still displays as date format. I have tried different methods to convert and i don t wish to alter the session.
我在此提出的表格:
CREATE TABLE Test
(
Name VARCHAR2(20),
Description Varchar2(20),
StudyTime Date,
SleepTime Date,
);
插入:
INSERT INTO Test
VALUES( JUDY , STUDYING AT ABC , (To_Date( 01:00:00 , HH24:MI:SS )),
(TO_DATE( 06:35:00 , HH:MI:SS )));
显示结果:
Judy,Studying at abc,11-Nov-2011,11-Nov-2011
感谢任何人帮助!