1 drop-index
The drop-index element removes an existing index from an existing table.
<drop-index
table='table'
name='name'
onexception='onexception'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Atable | string | Name of the table that has the index. | |||
Aname | string | Index name. | |||
Aonexception | string | ignore | Behavior in case of error. |
1.1 Example
In the following example, index 'apellido' is deleted in table 'persona'.
Example
Copy
<xsql-conversion> <drop-index table='persona' name='apellido' /> </xsql-conversion>