engineering computer science MCQ #765

Which SQL function is used to retrieve the current date and time?

engineering computer science MCQ #765

  1. Question 1

    Q1. Which SQL function is used to retrieve the current date and time?

    • A) NOW()
    • B) CURRENT_DATE()
    • C) GETDATE()
    • D) SYSDATE()

    Answer: NOW()

    Explanation: The NOW() function retrieves the current date and time, although the specific function may vary depending on the database management system.