Define a return value

When you declare a C UDR, you specify the routine return value, as follows:
  • For a user-defined function, the C declaration specifies the data type that the UDR returns.
  • For a user-defined procedure, the C declaration specifies the void data type as a return value.
Important: A C user-defined function can only return one value.