Each function that accepts parameters will check that each parameter is of the correct data type. A function will generate a SQL 22023 error value if a supplied parameter is not of the type expected.