我们最近将数据库移至 Amazon RDS SQL Server。我们在日期时间(时区)方面遇到了一些困难。默认情况下,RDS 提供 UTC 日期。有什么方法可以在 SQL Server 的数据库级别覆盖/操作本地时区。请帮我解决这个问题。
提前致谢,
恋人
最佳答案
https://forums.aws.amazon.com/thread.jspa?messageID=161339
The time zone is currently not modifiable. There is indeed a Parameter value in rds-describe-db-parameters called "default_time_zone" but it's marked as not modifiable.
关于amazon-rds - Amazon RDS SQL Server 在数据库级别设置时区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17622153/