Execute SQL statements

One basic task of a DataBlade® API module is to send SQL statements to the database server for execution.

To execute an SQL statement, a DataBlade API module must perform the following tasks:
  • Assemble the SQL statement and send it to the database server for execution.
  • Process results that the database server returns to the module.
  • If the SQL statement (such as a SELECT) returns rows, obtain each row of data.
  • For each row, obtain the column value or values of interest.
  • Complete the execution of the statement.