Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am connecting to same db from 2 different machines using SQL Developer and querying a table which stores timestamp. But to my surpise the time value returned by query has a gap of one hour on different machine. How is this possible as we are conencting to same DB? and whats the solution.

share|improve this question

1 Answer 1

Probably different timezone is configured on those machines. Check:

SELECT SESSIONTIMEZONE FROM dual;
share|improve this answer
    
As this answer suggests, Oracle's concept of time is influenced by the timezone setting of the client computer used to connect to the database. If you use select systimestamp from dual you should see that the times -- while in different timezones -- are actually the same. –  Colin 't Hart Feb 20 at 9:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.