Man illustrationFlower illustration

Docy

Execute query

Estimated reading: 2 minutes 71 views

Execute query activity is used for adding, updating and deleting records in the database.


*Connection
name
The connection name defined to be used as the database connection variable.
Param1The value to be assigned to the first parameter.
Param2The value to be assigned to the second parameter.
Param3The value to be assigned to the third parameter.
Param4The value to be assigned to the fourth parameter.
Param5The value to be assigned to the fifth parameter.
ParametersUse this if you want to put multiple parameters.
*Query sqlValue of sql query.
*Result dataset nameReference name of dataset which will be created.
Note: * Fields selected with are required, others are optional.

You can use the Connection name as shown in the example.

robustaConnection

You can use the Param1 as shown in the examples.

2314589

${customerID}

You can use the Param2 as shown in the examples.

Company A

${companyName}

You can use the Param3 as shown in the examples.

area

${area}

You can use the Param4 as shown in the examples.

title

${title}

You can use the Param5 as shown in the examples.

robusta

${company}

You can use the Parameters as shown in the example.

[2314589, Company A]

[${customerID}, ${companyName}]

You can use the Query sql as shown in the example.

SELECT * FROM db_test.customer_infos WHERE CustomerID = ‘:1’ AND CompanyName = ‘:2’ ;

You can use the Query sql as shown in the example.

employeesDataset
CONTENTS