SQL Language (MOSC)

MOSC Banner

Time zones, timestamps range queries

edited Aug 12, 2010 4:54AM in SQL Language (MOSC) 2 commentsAnswered ✓
I have a 10.2.0.4 database that is in EDT that uses timestamp(6) data type columns.  I have triggers, default values, procedures that are used to populate these values using CURRENT_TIMESTAMP.  The end-user application server is in GMT.  When we apply data patches to change values, we do from the database server.  So we have some timestamps that were entered in GMT and some that are EDT. 

We have a perl job that is supposed to wake up periodically and pull data whose timestamp is between the last time it ran and the current time -- it pulls the value from a query to get sysdate from the database.  Will this pull the data correctly (i.e., is everything really in EDT and the client timezone will be factored into the selection)?  Or do I need to try to convert the values to get them all into the same timezone? 

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