SQL Reference

TYPE_NAME

>>-TYPE_NAME---(--expression--)--------------------------------><
 

The schema is SYSIBM.

The TYPE_NAME function returns the unqualified name of the dynamic data type of the expression.

The argument must be a user-defined structured type. 49

The data type of the result of the function is VARCHAR(18). If expression can be null, the result can be null; if expression is null, the result is the null value. Use the TYPE_SCHEMA function to determine the schema name of the type name returned by TYPE_NAME.

Examples:


Footnotes:

49
This function may not be used as a source function when creating a user-defined function. Since it accepts any structured data type as an argument, it is not necessary to create additional signatures to support different user-defined types.


[ Top of Page | Previous Page | Next Page ]