1 drop-table
The 'drop-table' element deletes a table from the database.
<drop-table
name='name'
onexception='onexception'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | string | Name of the table to be deleted. | |||
Aonexception | string | ignore | Behavior in case of error. |
1.1 Example
In the following example, the table 'obsolete' is deleted.
Example
Copy
<xsql-conversion> <drop-table name='obsolete' /> </xsql-conversion>