Database Administration (MOSC)

MOSC Banner

Different current_timestamp value at database server and client server

edited Jan 14, 2013 9:04PM in Database Administration (MOSC) 8 commentsAnswered ✓
Hi,I have encountered a different current_timestamp value when I fired a SQL from server and SQL Developer.
Any idea why? I was told that the timing at the client server is different from the server, however I have checked at the Client OS level prompt by entering 'date', the value does not tally with the one at the SQL prompt. Is there any parameter which I need to alter to sync the timing?

Example:
-- date at database server.
$ date
Fri Jan 11 17:50:36 SGT 2013

-- SQL trigger at server.
SQL> select current_timestamp from dual;

CURRENT_TIMESTAMP
---------------------------------------------------------------
11-JAN-13 05.50.12.029000 PM +08:00

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center