-- To convert a datetime to a date, you can use the CONVERT(), TRY_CONVERT(), or CAST() function. -- Note that the GETDATE() function returns the current database server’s datetime.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results