current_date
The current_date function is used to return the current date value. The return value format is yyyy-mm-dd.
Similar function: getdate. The getdate function returns the current system time. The return value format is yyyy-mm-dd hh:mi:ss.
Syntax
current_date()
Parameters
None
Return Values
Returns a date value of type DATE, in the format yyyy-mm-dd.
Example Code
select current_date();
Returns 2023-08-16.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot