Set the database time zone when the database is created by using the SET TIME_ZONE
clause of the CREATE DATABASE statement. If you do not set the database time zone,
then it defaults to the time zone of the server's operating system.
You can change the database time zone for a session by using the SET TIME_ZONE
clause of the ALTER SESSION stateme
设置数据库时区
1. 可通过SET TIME_ZONE 语句设置数据库的时区 , 默认与操作系统相同
2. 可为不同的会话指定不同的时区
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-995744/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-995744/