1 drop-primary

The drop-primary element removes an existing "primary" constraint from an existing table.

<drop-primary
    table='table'
    name='name'
    onexception='onexception'
/>
 

1.1 Example

The following example deletes constraint 'id_composed' from table 'sometable'.

Example
Copy
<xsql-conversion>
    <drop-primary table='sometable' name='id_composed' /> 
</xsql-conversion>