curdate
function
Applies to: Databricks SQL preview Databricks Runtime 11.3 LTS and above
Returns the current date at the start of query evaluation. This function is a synonym for current_date.
Syntax
curdate()
Arguments
This function takes no arguments.
Returns
A DATE.
Examples
> SELECT current_date();
2020-04-25
> SELECT current_date;
2020-04-25
Related functions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for