How to insert of only system time(hh:mi:ss) into table columnnot in the format of 'dd/mm/yyy hh:mi:ss' only system time not date.

Questions by manoj jadaun

Showing Answers 1 - 3 of 3 Answers

CREATE TABLE table_name
(col1 VARCHAR2(20));

INSERT INTO
table_name

VALUES

(TO_CHAR(SYSDATE, 'HH:MI:SS'))

While creating table you must keep in mind the datatype must be Varchar2 for required column

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions