AT TIME ZONE targeting Microsoft Azure SQL Database V12
I can't build the project with my function using TIMEZONE on target platform Microsoft Azure SQL Database V12 (It does with target Sql Server 2016). Visual Studio database project with the same function builds successfully for target platform Microsoft Azure SQL Database V12.
Code in the function:
Code in the function:
DECLARE @nowServer DATETIMEOFFSET = SYSDATETIMEOFFSET() DECLARE @nowCET DATETIMEOFFSET = CONVERT(DATETIMEOFFSET, @nowServer) AT TIME ZONE 'W. Europe Standard Time' RETURN CONVERT(DATETIME, @nowCET)
Comments
http://download.ready-roll.com/ReadyRol ... 1.2918.exe
Product Manager
Redgate Software