TYPES

Provides information about supported data types.

Provides information about supported data types. This table does not include inlined complex types; see COMPLEX_TYPES instead. This table does include arrays and sets of primitive types.

Column Name Data Type Description
TYPE_ID INTEGER A unique numeric ID assigned by the Vertica catalog, which identifies the specific data type.
ODBC_TYPE INTEGER The numerical ODBC type.
ODBC_SUBTYPE INTEGER The numerical ODBC subtype, used to differentiate types such as time and interval that have multiple subtypes.
JDBC_TYPE INTEGER The numerical JDBC type.
JDBC_SUBTYPE INTEGER The numerical JDBC subtype, used to differentiate types such as time and interval that have multiple subtypes.
MIN_SCALE INTEGER The minimum number of digits supported to the right of the decimal point for the data type.
MAX_SCALE INTEGER The maximum number of digits supported to the right of the decimal point for the data type. A value of 0 is used for types that do not use decimal points.
COLUMN_SIZE INTEGER The number of characters required to display the type. See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms711786%28v=VS.85%29.aspx for the details on COLUMN_SIZE for each type.
INTERVAL_MASK INTEGER For data types that are intervals, the bitmask to determine the range of the interval from the Vertica TYPE_ID. Details are available in the Vertica SDK.
TYPE_NAME VARCHAR The data type name associated with a particular data type ID.
CREATION_PARAMETERS VARCHAR A list of keywords, separated by commas, corresponding to each parameter that the application may specify in parentheses when using the name that is returned in the TYPE_NAME field. The keywords in the list can be any of the following: length, precision, or scale. They appear in the order that the syntax requires them to be used.