Ad Hoc Update process


The AD Hoc Update process executes an ad hoc update against an SQL database. This process handles any necessary CDATA wrapping for SQL statements. The inputs must contain plain SQL statements.

The following table describes the process inputs for the SQL adapter with the Ad Hoc Update process.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
 

The following table describes the process output parameters for the SQL adapter with the Ad Hoc Update process.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
The following figure shows a sample XML adapter request for the Ad Hoc Update process:

<sqlAdapterRequest>
<action>update employee set name='Emp_Name' where emp_id=12345</action>
</sqlAdapterRequest>

The following figure shows the adapter response for the request:

<sqlAdapterResponse>
<metadata>
<queryExecuted>update employee set name='Emp_Name' where emp_id=12345</queryExecuted>
<execution-milliseconds>2312</execution-milliseconds>
<status>success</status>
</metadata>
</sqlAdapterResponse>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*