addOutputColumn()

Defines an output column for the table.

Syntax

This method has the following syntax:
void addOutputColumn(int nType, const char* strName, int nSize);
void addOutputColumn(int nType, const char* strName, int precision, 
int scale);
void addOutputColumn(int nType, const char* strName);

Description

The addOutputColumn() method operates on the UdxOutputShaper object to build an output column definition for the table by using the specified input values. The version that you invoke depends on the data type you are defining. For example, use the precision and scale variant for numerics (but not doubles or floats), the size version for strings, and the other for all other data types.