I am having issue in displaying right sysdate and systimestamp. We want our DBs to have GMT timezone.OS time is set correctly.
When i query in the DB Server .it gives right value ;but when i query from any tools (toad/sqlpplus) in the client side: it gives wrong timestamp value .
Can you please guide me on this issue?
From Server:
- Code: Select all
select systimestamp from dual;
SYSTIMESTAMP
---------------------------------------------------------------------------
26-MAR-12 08.49.10.610056 PM +00:00
SQL>SELECT SESSIONTIMEZONE,dbtimezone FROM DUAL;
SESSIONTIMEZONE
---------------------------------------------------------------------------
DBTIME
------
+00:00
+00:00
From TOAD in client side:
- Code: Select all
SQL> select systimestamp from dual;
SYSTIMESTAMP
---------------------------------------------------------------------------
27-MAR-12 01.50.25.838052 AM +05:00
SQL> SELECT SESSIONTIMEZONE,dbtimezone FROM DUAL;
SESSIONTIMEZONE
---------------------------------------------------------------------------
DBTIME
------
-04:00
+00:00
-Ashok