Host variable <str> is based on a record type that uses variants Explanation: The host variable you referred to is based on a record type which uses Pascal variants. SQL does not support types which include variants. User Action: Use a different type definition.