1 drop-columns

The drop-columns element removes one or more existing attributes (columns) in the definition of an existing table.

<drop-columns
    table='table'
    onexception='onexception'
>
    <column /> +
</drop-columns>
 

1.1 Example

In the following example, column 'numero' is deleted in table 'entidad'.

Example
Copy
<xsql-conversion>
    <drop-columns table='entidad'>
        <column name='numero' />
    </drop-columns>
</xsql-conversion>