Returns a description of the index and statistics of the given table.
 

1 connection.metadata.getIndexInfo

<connection.metadata.getIndexInfo>
    <catalog /> +
    <schema /> +
    <table /> +
    <unique /> +
    <aproximate /> +
</connection.metadata.getIndexInfo>
Example
Copy
<xsql-script name='connection_metadata.getIndexInfo_sample'>
    <body>
        <println>
            <connection.metadata.getIndexInfo>
                <null />
                <null />
                <string>gman_equinsta</string>
                <false />
                <false />
            </connection.metadata.getIndexInfo>
        </println>
    </body>
</xsql-script>
Copy
+--------------+-----------+-------------+----------+---------------+----------------+----+----------------+-----------+-----------+-----------+-----+----------------+
|table_cat     |table_schem|table_name   |non_unique|index_qualifier|index_name      |type|ordinal_position|column_name|asc_or_desc|cardinality|pages|filter_condition|
+--------------+-----------+-------------+----------+---------------+----------------+----+----------------+-----------+-----------+-----------+-----+----------------+
|demo_formacion|informix   |gman_equinsta|         0|               |p_gman_equinsta |   3|               1|codins     |           |          0|    0|                |
|demo_formacion|informix   |gman_equinsta|         1|               |f_gman_equinsta1|   3|               1|empcode    |           |          0|    0|                |
|demo_formacion|informix   |gman_equinsta|         1|               |f_gman_equinsta2|   3|               1|delega     |           |          0|    0|                |
|demo_formacion|informix   |gman_equinsta|         1|               |f_gman_equinsta2|   3|               2|depart     |           |          0|    0|                |
+--------------+-----------+-------------+----------+---------------+----------------+----+----------------+-----------+-----------+-----------+-----+----------------+