How can I add to a field in a Table built in Oracle database a time?
ex: I want to add the value 13:00:00
to the field Time
in a table named Data
How can this be done?
I`m using Oracle 10g Express Edition
How can I add to a field in a Table built in Oracle database a time?
ex: I want to add the value 13:00:00
to the field Time
in a table named Data
How can this be done?
I`m using Oracle 10g Express Edition
If this is one of the DATE field formats then for a record insert you would:
insert
into "DATA" ("TIME")
values (to_date('13:00:00', 'HH24:MI:SS'));
You can verify this with:
select to_char("TIME", 'HH24:MI:SS')
from "DATA";