_Esam
asked on
Oracle Timestamp size ?
Hi,
I have an Oracle (9.2.0) table column that is of type Timestamp...
The DBA declared it as:
ColumnName Type
CREATETMS Timestamp(6)
My question is: what does this mean? Timestamp(6) ?
Give me an example insert value to insert a value to this column??? (should work)
I am having problem updating this Timestamp with new values from my java program....
Thanks.
_Esam.
I have an Oracle (9.2.0) table column that is of type Timestamp...
The DBA declared it as:
ColumnName Type
CREATETMS Timestamp(6)
My question is: what does this mean? Timestamp(6) ?
Give me an example insert value to insert a value to this column??? (should work)
I am having problem updating this Timestamp with new values from my java program....
Thanks.
_Esam.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>insert into my_table (timestamp_column) values (timestamp'1997-01-31 09:26:50.124');
Is this part ok: (timestamp'1997-01-31 09:26:50.124'); ?
Should it just be: ('1997-01-31 09:26:50.124');
_Esam
Is this part ok: (timestamp'1997-01-31 09:26:50.124'); ?
Should it just be: ('1997-01-31 09:26:50.124');
_Esam
ASKER
Need an example of how to insert a darn timestamp>>>:)
Thax.
_esam.
Thax.
_esam.
ASKER
Sorry, I got it working now...:)
Thanks
_Esam..
Thanks
_Esam..
The TIMESTAMP datatype stores date and time information with fractional
seconds precision. The only difference between the DATE and TIMESTAMP
datatypes is the ability to store fractional seconds up to a precision of nine digits.
The default precision is 6 and can range from 0 to 9.