Answer Posted / sudipta santra
No problem, There are 2 ways for doing this:
1. If the field of the table is timezone then you can set
data or insert data of timezone i.e the timezone is upto
milliseconds.
eg. insert into timetab(time_col) values(select
sysdbtimezone from dual);
2. If the field is varchar2 then you can set the value or
insert the time stamp like that:
insert into timetab(time_col)
values(substr(to_char(sysdate,'DD-MON-RRRR'),13);
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to pass a parameter to a cursor in oracle?
What is connection pool in oracle?
How to open a cursor variable?
Why does oracle 9i treat an empty string as null?
What do database buffers contain?
what happened to the global index when I truncate the data in one of the partition?
Can we store images in oracle database?
What is save point in oracle database?
How to delete all rows a table in oracle?
How to assign data of the deleted row to variables?
What are the parameters that we can pass through a stored procedure?
How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.
master table and child table performances and comparisons in Oracle ?
Can group functions be used in the order by clause in oracle?
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....