Google News
logo
SQL Server - Quiz(MCQ)
_______ function returns current date and time.
A)
GETDATE
B)
Cert_ID
C)
SYSDATETIME
D)
SET DATEFIRST

Correct Answer :   GETDATE


Explanation : GETDATE function is used to obtain the current system date and time. Although GETDATE doesn’t have any input parameters, you still need to include the parentheses in your code because that’s how SQL Server typically identifies functions.

Advertisement