SQL Activities category contains categories executing operations directly on a database.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_selected_standard_activities_sql_activities_sql_activities_category.png)
Create Row Adapter
The activity is used for creating SqlRecordAdapter object from IDataReader object, which allows for an easier analysis of an SQL query results.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_selected_standard_activities_sql_activities_create_row_adapter_activity.png)
Suppress Transaction Scope
After using this activity, all operations within it are executed beyond a transaction, which means that in case an execution error occurs, a current object status will be saved in a database and no changes will be undone.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_selected_standard_activities_sql_activities_suppress_transaction_scope_activity.png)
Execute SQL
The activity allows for executing an SQL query on a company database from which a process is started. Input parameters can be transferred to such query and data can be retrieved to variables with the use of output parameters.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_selected_standard_activities_sql_activities_execute_sql_activity.png)
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_selected_standard_activities_sql_activities_parameter_edition.png)
Execute in Transaction
Using of this activity opens an internal transaction in an already existing transaction of a BPM process. Changes introduced by means of the activity to a database will be canceled in case and error (exception) occurs during its execution.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_selected_standard_activities_sql_activities_execute_in_transaction.png)
Execute SQL Query
This activity allows for executing an SQL query analogic to the Execute SQL. Additionally, for each returned row, with the use of a query, it is possible to define specific transactions.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_selected_standard_activities_sql_activities_execute_sql_query_t.png)
Besides the activities described for Execute SQL Query, it allows for creating a list of objects of a given type and adding to it objects on the basis of rows which are results of an SQL query.