ITPub博客

首页 > 数据库 > 数据库开发技术 > Setting the Database Time Zone (80)

Setting the Database Time Zone (80)

原创 数据库开发技术 作者:tsinglee 时间:2007-12-25 15:23:12 0 删除 编辑

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. 可为不同的会话指定不同的时区

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-995744/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    2002849