![]() |
|
The mi_column_scale() function obtains the scale of the specified column from a row descriptor.
The mi_column_scale() function obtains the column scale of column_id in the row descriptor that row_desc references. The scale is an attribute of the data type. The meaning of the scale depends on the associated data type, as the following table shows.
If you call mi_column_scale() on some other data type, the function returns zero (0).
A row descriptor describes the structure of a row or a composite value. You can call either the mi_get_row_desc() or mi_get_row_desc_without_row() function to obtain the row descriptor.
See the description of the following functions: mi_column_id(), mi_column_name(), mi_column_nullable(), mi_column_precision(), mi_column_type_id(), mi_column_typedesc(), mi_get_row_desc(), and mi_get_row_desc_without_row().
For information about row descriptors and column information, see Using a Row Descriptor.