23.2.2.Data Type Errors

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.