1 drop-foreign

The drop-foreign element removes an existing 'foreign' restriction from an existing table.

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

1.1 Example

In the following example, key 'other' is deleted from the table 'sometable'.

Example
Copy
<xsql-conversion>
    <drop-foreign table='sometable' name='other' /> 
</xsql-conversion>