Time Zone [message #117734] |
Fri, 29 April 2005 06:40 |
Anand Ramaswamy
Messages: 111 Registered: January 2005
|
Senior Member |
|
|
Hi All,
When I was trying to execute the following statement, it fails. Can anyone tell me why?
SQL> ALTER DATABASE SET TIME_ZONE='+5:30';
ALTER DATABASE SET TIME_ZONE='+5:30'
*
ERROR at line 1:
ORA-02231: missing or invalid option to ALTER DATABASE
I checked the syntax with the documentation, everything appear to be fine.
I even tried this, which also fails.
SQL> ALTER DATABASE SET TIME_ZONE=
2 'Europe/London';
ALTER DATABASE SET TIME_ZONE=
*
ERROR at line 1:
ORA-02231: missing or invalid option to ALTER DATABASE
All these were tried from sysdba login.
Thanks in advance.
qA
|
|
|
|
Re: Time Zone [message #117738 is a reply to message #117736] |
Fri, 29 April 2005 06:58 |
Anand Ramaswamy
Messages: 111 Registered: January 2005
|
Senior Member |
|
|
Doesn't work
It says :
SQL> alter database set time_zone '+5:30';
alter database set time_zone '+5:30'
*
ERROR at line 1:
ORA-00927: missing equal sign
Regards,
qA
|
|
|
|
Re: Time Zone [message #117751 is a reply to message #117734] |
Fri, 29 April 2005 07:45 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
Sorry, checked the docs and found indeed the equal sign was needed. Found my original answer in a syntax-definition on a website I frequently use; never tested it though (don't want to upset my collegues
Frank
[Updated on: Fri, 29 April 2005 07:45] Report message to a moderator
|
|
|
|
|
|
|
|