hello,
What is the equivalent of this T_sql in sql server but in databricks sql?
Thank you
CAST(
DATEFROMPARTS(
LEFT(table1.id,2)+2000,
SUBSTRING(CAST(table1.id AS NVARCHAR(9)),3,2),
SUBSTRING(CAST(table1.id AS NVARCHAR(9)),5,2)
)
AS DATE) AS DATA_REF


