How do I execute SQL statement strings on a remote database from AC javascript?

In general my remote database updates have to be done with custom sql statement strings built from various field values and variables. Typically this involves calling a stored procedure on the database or multiple sql statements. What I am looking for is something similar to the way of using WebSQL localstorage in clientside javascript. The only differences are remote database instead of browser WebSQL and script is server side instead of client side.

Can the AC database agent do this? or is it something for the Data Agent (coming soon)?

Thanks in anticipation.
1 person has
this question