Returns a list of the unique restrictions of the specified table.
1 connection.metadata.getUniqueConstraints
<connection.metadata.getUniqueConstraints table='table'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Atable | string | Name of the table. |
Returns | |
---|---|
Type | Description |
Vtable | Vtable in which each row is a description of restriction. |
Example
Copy
<xsql-script name='connection_metadata.getUniqueConstraints_sample'> <body> <println> <connection.metadata.getUniqueConstraints table='gartdele' /> </println> </body> </xsql-script>
Copy
+-----------+ |name | +-----------+ |u_gartdele1| +-----------+