troubleshooting Question

Timestamp

Avatar of Manish
ManishFlag for India asked on
Oracle DatabaseJava
10 Comments2 Solutions1953 ViewsLast Modified:
Query output are like this (in TOAD)
1.select current_timestamp from dual
8/13/2007 7:59:02.549200 PM +05:30

In java
I update the timestamp datatype through java application prepared statement
update CHANNEL  set UPDT_DT_TM=CURRENT_TIMESTAMP where ID=1

After this if I run the following query (in TOAD)
select  updt_dt_tm from CHANNEL   where ID=24
it gives output
8/13/2007 2:26:51.596594 PM (some time  diff is possible)

field :UPDT_DT_TM   Datatype : TIMESTAMP(6)
I want to know why this much difference?
Am I missing something?







ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros