Compile one or several objects (Procedures, Functions or Triggers) inside the database.

1 connection.schema.code.compile

<connection.schema.code.compile
    debug='debug'
    type='type'
    dict='dict'
    pattern='pattern'
/>
Example

Compile the triggers that meet with the pattern capuntes_%

Copy
<xsql-script name='compile_trigger'>
    <body>
        <println>
            <connection.schema.code.compile
                type='trig'
                dict='wic_misc'
                pattern='capuntes_%'
            />
        </println>
    </body>
</xsql-script>

The xsql-script prints the result:

Copy
+--------------+------+--------+-------+-------------------------------+-----+------+--------------------------------- +
|dbms          |schema|dict    |type   |code                           |group|error |message                           |
+--------------+------+--------+-------+-------------------------------+-----+------+----------------------------------+
|demo_formacion|      |wic_misc|trigger|capuntes_del                   |     |false |TRIGGER capuntes_del created.     |
|demo_formacion|      |wic_misc|trigger|capuntes_ins                   |     |false |TRIGGER capuntes_ins created.     |
+--------------+------+--------+-------+-------------------------------+-----+------+----------------------------------+