Oracle11g命令行修改时区
检查时区
SQL> SELECT DBTIMEZONE FROM DUAL;
DBTIME
------
+00:00
尝试更改时区
SQL> alter database set time_zone='+8:00';
alter database set time_zone='+8:00'
*
ERROR at line 1:
ORA-30079: cannot alter database timezone when database has TIMESTAMP WITH
LOCAL TIME ZONE columns
查看TIMESTAMP WITH LOCAL TIME ZONE字段的表
SQL> select u.name || '.' || o.name || '.' ||