Why is SYSDATETIME() slower than SYSUTCDATETIME()?

Consider the following code that calls SYSDATETIME() 10 million times in a loop:

On my machine the code takes…

Continue Reading →