|
Oracle TimeZone
|
|
11-19-2009, 08:45 PM
Post: #1
|
|||
|
|||
|
Oracle TimeZone
Valid Time Zones You have two options when setting which time zone the Listing 1 SQL> select tzname,tzabbrev DBTIMEZONEAt the core of time zones is the database time zone. You can Listing 2 SQL> select DBTIMEZONE from dual; Listing 3 SQL> ALTER database SET TIME_ZONE = 'America/Denver'; Listing 4 SQL> select DBTIMEZONE from dual; Listing 5 SQL> ALTER database SET TIME_ZONE = '-07:00'; SESSIONTIMEZONEIf you do not want to use the database time zone, Oracle Listing 6 SQL> alter session set TIME_ZONE='-03:00'; Listing 7 SQL> select SESSIONTIMEZONE from dual; SYSTIMESTAMPJust as there is a call to SYSDATE to get the current system Listing 8 SQL> select SYSTIMESTAMP from dual; CURRENT_TIMESTAMPThe counter part of the SYSTIMESTAMP function for session Listing 9 SQL> select CURRENT_TIMESTAMP from dual; |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Resolving User Equivalance error in Oracle | sreekanth | 0 | 214 |
12-19-2009 03:06 AM Last Post: sreekanth |
|
| Info on PIVOT in Oracle | sreekanth | 0 | 168 |
12-08-2009 11:34 PM Last Post: sreekanth |
|
| Oracle 11g Data pump: compression feature | sreekanth | 0 | 395 |
12-08-2009 11:31 PM Last Post: sreekanth |
|
| EXECUTE IMMEDIATE Statement in Oracle | sandeep | 0 | 130 |
11-19-2009 08:26 PM Last Post: sandeep |
|
| oracle kill session | sandeep | 0 | 331 |
11-19-2009 03:31 PM Last Post: sandeep |
|
| Oracle Reserved Words, Keywords, and Namespaces | sandeep | 0 | 139 |
11-19-2009 04:26 AM Last Post: sandeep |
|
| Oracle Applications R12 - Sequence Of Printing Events | sandeep | 0 | 135 |
11-19-2009 12:56 AM Last Post: sandeep |
|
| Create Restore Point in Oracle | sandeep | 0 | 150 |
11-19-2009 12:39 AM Last Post: sandeep |
|
| ORACLE RAC ONE NODE pdf | yoga | 0 | 355 |
11-10-2009 03:02 AM Last Post: yoga |
|
| ORACLE Real Application Clusters (PDF) | yoga | 0 | 156 |
11-10-2009 02:59 AM Last Post: yoga |
|
Search
Member List
Calendar
Help


