This fucntions allows to generate a condition to be used in SQL sentences. It is used to avoid the quotes from being inserted in the date argument value.

1 date.query

Usar con valores de fecha

This tab should be used exclusively with date values (DATE). For TIMESTAMP values, the argument is converted to DATE type.

    <date /> !

Pass a string to a date format.

<xsql-script name='date_query_sample1'>
        <set name='cond'><string>fecha &lt;= <date.query>< /></date.query></string></set>
            <select prefix='s_' prepare='false'>
                <from table='gcompedh' />