BIP2936

Severity

20 : Error

Message

A RETURN statement attempted to return a value of type '<insert_0>' but the containing routine is defined to return a value of type '<insert_1>'.

Explanation

An exact match between the datatype of the value returned by a return statement and the datatype specified on the routine declaration is required.

Response

Examine and correct the SQL program