What is the difference between GETDATE and SYSDATETIME?

Last updated:9/20/2020 7:36:37 AM

1 Answers

MindStick Software Pvt Ltd
MindStick Software Pvt Ltd

As far as the GETDATE and SYSDATETIME are concerned, these two are almost identical but GETDATE can give up to milliseconds and SYSDATETIME can be accurate to nanoseconds. According to accuracy, the SYSDATETIME is more accurate than GETDATE.