Activities

 

Connect to MSSQL

This activity connects to a Microsoft SQL Host. The Output of this activity should be used as input for all Connection parameters used for activities placed under Microsoft SQL category.

Activity Parameters

The Connect to MSSQL activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

 

 

 

 

 

Disconnect from MSSQL

This activity disconnects from a Microsoft SQL Host.

Activity Parameters

The Disconnect from MSSQL activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

 

 

Add User Access to Database

This activity adds privileges for an user to a database.

Activity Parameters

The Add User Access to Database activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

 

Execution: the activity will check if the user exists as a login on the SQL server and if found, will grant access on the connected database, for the given roles:

 

 

 

Backup Database

This activity creates a backup .bak file of a selected database.

Activity Parameters

The Backup Database activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

 

Execution: the activity will create a backup file of the database settled in the connection activity, in the specified folder:

 

 

The backup file can be seen in the given location:

 

 

 

Delete Row(s) from Table

This activity deletes Row(s) from a SQL Server database table.

Activity Parameters

The Delete Row(s) from Table activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Delete Row(s) from Table activity:

 

 

 

Insert Row into Table

This activity inserts Row on a SQL Server database table.

Activity Parameters

The Insert Row into Table activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

 

Execution: the activity will insert the new row into the selected table and will output the ID of the added row:

 

 

In the database, the row can be seen at the last position:

 

 

 

Remove User Access from Database

This activity removes privileges for an user to a database.

Activity Parameters

The Remove User Access from Database activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

 

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Add User Access to Database activity:

 

 

 

Restore Database

This activity restores a Database from a backup .bak file.

Activity Parameters

The Restore Database activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

 

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Restore Database activity:

 

 

 

Run query

This activity runs a query on a SQL Server database.

Activity Parameters

The Run Query activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Run Query activity:

The Read Only Output variable are the possible output values that the activity will provide:

 

 

 

 

 

Select Row(s) from Table

This activity selects and returns Row(s) from a SQL Server database table. The example below displays a classic select query: select all data from a given table.

Activity Parameters

The Select Row(s) from Table activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Select Row(s) from Table activity:

The Read Only Output variable are the possible output values that the activity will provide: