Home » RDBMS Server » Server Administration » Changing Time Zone in Oracle 8.1.7
Changing Time Zone in Oracle 8.1.7 [message #165381] Wed, 29 March 2006 13:31 Go to next message
somnathganguly123
Messages: 1
Registered: May 2005
Junior Member
I want to change time zone of a database.I do the following steps but it won't wotk.

SQL>SELECT DBTIMEZONE FROM DUAL;

DBTIMEZ
-------
+00:00

SQL>select to_char(sysdate,'dd-mon-yy hh:mi:ss') from dual;

TO_CHAR(SYSDATE,'D
------------------
29-mar-06 02:13:56

SQL>alter database set time_zone='-03:00';

Database altered.

SQL>shutdown immediate
SQL>startup
SQL>SELECT DBTIMEZONE FROM DUAL;

DBTIMEZ
-------
-03:00
SQL> select to_char(sysdate,'dd-mon-yy hh:mi:ss') from dual;

TO_CHAR(SYSDATE,'D
------------------
29-mar-06 02:15:45

Can any one suggest how i can change time zone?
Re: Changing Time Zone in Oracle 8.1.7 [message #165384 is a reply to message #165381] Wed, 29 March 2006 13:37 Go to previous message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
Please don't report a message to a moderator simply to get it answered.
Previous Topic: SQL and email
Next Topic: pga memory
Goto Forum:
  


Current Time: Fri Sep 27 02:30:40 CDT 2024