Add content to an existing JDBCBlob object.
 

1 blob.append

<blob.append>
    <dbmblob /> +
    <bytes /> +
</blob.append>
Example
Copy
<xsql-script>
    <body>
        <set name='m_blob'><blob /></set>
        <foreach>
           
            <select prefix='m_'>
                <columns>
                    apps_sfa_task_resl_bytes.ask_code, apps_sfa_task_resl_bytes.response_content_type, apps_sfa_task_resl_bytes.response_chunk, apps_sfa_task_resl_bytes.response_bytes
                </columns>
                <from table='apps_sfa_task_resl_bytes' />
                <where>
                    apps_sfa_task_resl_bytes.assign_user   = 'android'    AND
                    apps_sfa_task_resl_bytes.assign_type   = 0            AND
                    apps_sfa_task_resl_bytes.assign_number = 83           AND
                    apps_sfa_task_resl_bytes.task_code     = 'TEST_BYTES' AND
                    apps_sfa_task_resl_bytes.ask_code      = 'PR2'
                </where>
                <order>ask_code, response_chunk</order>
            </select>
            <do>
                <println>PROCESING CHUNK: <m_response_chunk/> OF QUESTION: <m_ask_code /> LEN=<byte.length><m_response_bytes /></byte.length></println>
                <blob.append><m_blob/><m_response_bytes /></blob.append>
            </do>

        </foreach>

      <println>
          LENGTH = <blob.length><m_blob /></blob.length> <m_response_content_type />
      </println>  
      
      <return type='${m_response_content_type}'><m_blob /></return>
    </body>
</xsql-script>