DATEFROMPARTS
Description
Sample Source Pattern
Syntax
DATEFROMPARTS ( year, month, day ) DATE_FROM_PARTS( <year>, <month>, <day> )Examples
SELECT DATEFROMPARTS ( 2010, 12, 31 ) AS RESULT; RESULT|
----------+
2022-12-12|SELECT DATE_FROM_PARTS ( 2010, 12, 31 ) AS RESULT; RESULT|
----------+
2022-12-12|Last updated
Was this helpful?