IBM DB2

Consultar e manipular dados no IBM DB2

Executar Consulta

AI-generated

Summary

Execute a raw SQL query on an IBM DB2 database and return the query results as JSON.

Inputs

  • Consulta (required) — The SQL query string to be executed on the IBM DB2 database. This should be a valid SQL statement such as a SELECT query.

Output shape

a JSON array representing the rows returned by the executed SQL query, or an object with execution details if the query does not return rows

The operation runs the provided query for each input item independently and concatenates the results into the output array. Errors can be returned in the output if 'Continue On Fail' is enabled; otherwise, execution stops on error.

Links

Discussion