Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How set the database timezone to an offset instead of a named timezone(TSLTZ and TSTZ)
Hi Stefan/All,
What does this output means???(9206DB on apps instance)
SQL> SELECT SESSIONTIMEZONE FROM DUAL; SESSIONTIMEZONE
SQL> SELECT DBTIMEZONE FROM DUAL;
DBTIME
1)how to convert NAMED timezones to offsets???
Examples of this are the usage of timestamps such as "28-MAR-2006 14:00:00 Australia/Canberra",
Thanks,
Edwin.K
Stefan Knecht <knecht.stefan_at_gmail.com> wrote:
sys_at_TP> r
1* select * from sys.props$ where name = 'DBTIMEZONE'
NAME VALUE$ COMMENT$
------------------------------ ------------------------------ --------------------------------------------------
DBTIMEZONE +02:00 DB time zone
And you can use alter database to set it to your likes.
sys_at_TP> alter database set time_zone='-05:00';
Database altered.
Stefan
On 10/20/06, edwin devadanam <edwin_kodamala_at_yahoo.com> wrote: Hi ,
Any help would be appreciated.
Thanks,
Edwin.K
![]() |
![]() |