The MySQL CURDATE function is used to display the current date. The equivalent
function in Microsoft SQL Server is GETDATE, but would require formatting with the CONVERT function.
Syntax
Example
SELECT CURDATE() as [Date]
|
Results
Did you find the page informational and useful? Share it using one of your favorite social sites.
Recommended Books & Training Resources