Database MCQS - QUESTION DETAILS

Which SQL Server function is used to find the difference between two dates?
A. DIFFDATEDAYS()
B. DATEDIFF()
C. DIFFDATE()
D. DATE_DIFF()

'DATEDIFF()' is used to find the difference between two dates in SQL Server.

Similar Questions

What does SQL stand for in the context of Oracle Database?






Which SQL Server statement is used to grant specific privileges to a user?






In SQL Server, what is the purpose of the TRY_CONVERT() function?






In MySQL, what is the purpose of the FOREIGN KEY constraint?






In SQL Server, what is the purpose of the XML data type?






What is the purpose of the Oracle NVL() function?






Which Oracle function is used to find the length of a string?






What is the purpose of the Oracle DUAL table?






What is the purpose of the SQL COALESCE() function?






Which Oracle statement is used to create a new table in a database?