1 Delete
Delete records from a table.
<delete table='table'>
<optimizer-directives /> *
<where condition='condition' /> ?
</delete>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Atable | string | Table name |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eoptimizer-directives | It allows to indicate optimization directives according to the database engine. See section Optimization Directives. | ||||
Ewhere | Selection condition for records to be deleted. | ||||
Acondition | string | Condition |
Example
Deletes lines of internal movements with the linid passed as variable.
Copy
<delete table='geanmovl'> <where> linid = <m_linid /> </where> </delete>