Returns a description of the foreign key columns that reference to the primary key columns of the given table.
 

1 connection.metadata.getExportedKeys

<connection.metadata.getExportedKeys />
Example
Copy
<xsql-script name='connection_metadata.getExportedKeys'>
    <body>
        <println>
            <connection.metadata.getExportedKeys>
                <null />
                <null />
                <string>gman_equinsta</string>
            </connection.metadata.getExportedKeys>
        </println>
    </body>
</xsql-script>
Copy
+--------------+-------------+-------------+-------------+--------------+-------------+-------------+-------------+-------+-----------+-----------+
|pktable_cat   |pktable_schem|pktable_name |pkcolumn_name|fktable_cat   |fktable_schem|fktable_name |fkcolumn_name|key_seq|update_rule|delete_rule|
+--------------+-------------+-------------+-------------+--------------+-------------+-------------+-------------+-------+-----------+-----------+
|demo_formacion|informix     |gman_equinsta|codins       |demo_formacion|erp          |gman_equibaja|codins       |      1|          1|          1|
|demo_formacion|informix     |gman_equinsta|codins       |demo_formacion|informix     |gman_contratl|codins       |      1|          1|          1|
|demo_formacion|informix     |gman_equinsta|codins       |demo_formacion|informix     |gman_equidefs|codins       |      1|          1|          1|
|demo_formacion|informix     |gman_equinsta|codins       |demo_formacion|informix     |gman_gamaequi|codins       |      1|          1|          1|
|demo_formacion|informix     |gman_equinsta|codins       |demo_formacion|informix     |gman_ordetrah|codins       |      1|          1|          1|
|demo_formacion|informix     |gman_equinsta|codins       |demo_formacion|informix     |gman_solitrah|codins       |      1|          1|          1|
+--------------+-------------+-------------+-------------+--------------+-------------+-------------+-------------+-------+-----------+-----------+