Instruction
Before we move on to the next section, let's take a moment to summarize what we've already learned. SQL Server provides two kinds of current date and time functions:
- Lower-precision system date and time functions return a
DATETIMEdata type. These includeGETDATE(),CURRENT_TIMESTAMP, andGETUTCDATE(). - Higher-precision system date and time functions return a
DATETIME2orDATETIMEOFFSETdata type. These includeSYSDATETIME(),SYSUTCDATETIME(), andSYSDATETIMEOFFSET(). This group returns more precise time information (i.e., data with more fractional seconds). Usually, the default precision is seven.
Exercise
Click to continue.



