Arshiya Syeda · Sep 27, 2023 go to post

$LISTGET is easiest. $LISTGET(a) will get the first value, $LISTGET(a,number) gets the value at that number.

Select $LISTGET(a,1) as ColumnOne, $LISTGET(a,2) as ColumnTwo  from SQLTable

Arshiya Syeda · Sep 15, 2023 go to post

You can always use <code></code> in DTL

Try Below:

<code>
<![CDATA[
    &sql(SELECT ID
    FROM TestTable
    WHERE ProviderName = 'TEST,PROVIDER' AND IDType= 'BPI')
]]>
</code>