sql build date from parts code example Example: datefromparts mssql DATEFROMPARTS ( year, month, day )