Example
Return the current date:
SELECT CURRENT_DATE();
Definition and Usage
The CURRENT_DATE() function returns the current date.
Note: The date is returned as “YYYY-MM-DD” (string) or as YYYYMMDD (numeric).
Return the current date:
SELECT CURRENT_DATE();
The CURRENT_DATE() function returns the current date.
Note: The date is returned as “YYYY-MM-DD” (string) or as YYYYMMDD (numeric).