Returns a description of the optimal set of a table of columns which uniquelly identifies a row.
1 connection.metadata.getBestRowIdentifier
<connection.metadata.getBestRowIdentifier>
<catalog /> +
<schema /> +
<table /> +
<scope /> +
<nullable /> +
</connection.metadata.getBestRowIdentifier>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ecatalog | String | ||||
Eschema | String | ||||
Etable | String | ||||
Escope | Integer | ||||
Enullable | Boolean |
Returns | |
---|---|
Type | Description |
Vtable | Vtable which in each row is a description of the attribute. |
Example
Copy
<xsql-script name='connection_metadata.getAttributes_sample1'> <body> <println> <connection.metadata.getBestRowIdentifier> <null /> <null /> <string>gman_equinsta</string> <number>0</number> <true /> </connection.metadata.getBestRowIdentifier> </println> </body> </xsql-script>
Copy
+-----+-----------+---------+---------+-----------+-------------+--------------+-------------+ |scope|column_name|data_type|type_name|column_size|buffer_length|decimal_digits|pseudo_column| +-----+-----------+---------+---------+-----------+-------------+--------------+-------------+ | 2|codins | 1|char | 12| 0| 0| 1| +-----+-----------+---------+---------+-----------+-------------+--------------+-------------+