TO_TERA_DATE (Lakehouse v2)
Converts a VARCHAR value to a DATE value according to a Teradata format string.
Analyze Syntax
Section titled “Analyze Syntax”func.to_tera_date(<str>, <format>)Analyze Examples
Section titled “Analyze Examples”func.to_tera_date('20240615', 'YYYYMMDD')
┌──────────────┐│ '2024-06-15' │└──────────────┘SQL Syntax
Section titled “SQL Syntax”TO_TERA_DATE(<str>, <format>)SQL Examples
Section titled “SQL Examples”SELECT TO_TERA_DATE('20240615', 'YYYYMMDD');
┌────────────┐│ 2024-06-15 │└────────────┘