1 rename-column

The 'rename-column' element changes the name of an existing column in an existing table.

<rename-column
    table='table'
    name='name'
    to='to'
    onexception='onexception'
/>

1.1 Example

In the following example, the column 'prince' in the table 'royal' is given the new name 'symbol'.

Example
Copy
<xsql-conversion>
    <rename-column table='royal' name='prince' to='symbol' />
</xsql-conversion>