Allows to convert SQL text (common tags) of XSQL to native code of the agent in run-time. If the text contains variables, they will not be processed, so it is only valid for the constant SQL fragments.

1 sql.xsql2text

<sql.xsql2text type='type'>
    <value /> *
</sql.xsql2text>
Example

Returns the text converted according to the agent.

Copy
<xsql-script name='sql_xsql2text'>
    <body>
        <println>
            <sql.xsql2text>
               <xsql-text>
                    <nvl>tipcon, ''</nvl> = ''
               </xsql-text>
            </sql.xsql2text>
        </println>
    </body>
</xsql-script>