pav*_*eep 10 sql-server timezone
如何根据某些偏移量(如 UTC)查询 SQL 服务器的当前时区设置?
小智 11
DECLARE @TimeZone VARCHAR(50) EXEC MASTER.dbo.xp_regread 'HKEY_LOCAL_MACHINE','SYSTEM\CurrentControlSet\Control\TimeZoneInformation','TimeZoneKeyName',@TimeZone OUT SELECT @TimeZone
归档时间:
9 年,9 月 前
查看次数:
24895 次
最近记录:
4 年,10 月 前