To define a name mapping, use the
method DM_addNmp.
You can define more than one name
mapping. You must specify the following
parameters for a name mapping:
- The name of the name mapping.
- The name of a table.
- The names of two columns. One column
contains the field values. The other
column contains the corresponding mapped names.
The
SQL data type of the column that contains the field values must be
the same as that of the corresponding column in your mining data table.
The
SQL data type of the column that contains the mapped
names must
be categorical.
Example
IDMMX.DM_LogicalDataSpec()..DM_addNmp('MyNmp',
'MYSCHEMA.MYNMPTABLE', 'VALUECOL', MAPPEDVALUECOL')