FUNCTION  fEnum

Converts @value in an enum table to a string

Takes a binary(8) value, and converts it first to a type of given length, then to a string. It is used by the spDocEnum procedure.

Input and output parameters

nametypelengthinoutpnum
@lengthint4input3
 varchar64input0
@typevarchar32input2
@valuebinary8input1