1 rename-table
The 'rename-table' element renames an existing table.
<rename-table
name='name'
to='to'
onexception='onexception'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | string | Old name of the table whose name is changed. | |||
Ato | string | New name of the table whose name is changed. | |||
Aonexception | string | ignore | Behavior in case of error. |
1.1 Ejemplo
In the following example, the table 'raider' is given the new name 'twix'.
Example
Copy
<xsql-conversion> <rename-table name='raider' to='twix' /> </xsql-conversion>