Execute a deferred constraint in the BD server. The deferred is produced during the execution of the XSQL-Script program.
1 deferred-constraint
<deferred-constraint name='name'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | string | Name of the constraint or ALL to indicate all. |
Returns | |
---|---|
Type | Description |
int | Returns the name of constraints deferred. |
Example
Executes a deferred constraints in the BD server.
Copy
<xsql-script name='sql_native'> <body> <println> <!-- Deferred constraint unique to do update --> <deferred-constraint name='u_mytable_1' /> <update table='mytable'> <column name='c1'>A</column> <where> c2 IS NOT NULL </where> </update> </println> </body> </xsql-script>