uips-fixtures UiPath.Database.Activities 2.0.0

8 activities · uips-fixtures catalog v0.3 · generated 2026-04-11T08:33:04Z

Bulk Insert
UiPath.Database.Activities.BulkInsert
Database

Updates a database table via Bulk operations of the specific database driver. Falls back to Insert Data Table if the database driver does not support Bulk operations.

Arguments

NameDirTypeReqDefaultDescription
TableName In InArgument<String>
DataTable In InArgument<Data.DataTable>
AffectedRecords Out OutArgument<Int64>
ProviderName In InArgument<String>
ConnectionString In InArgument<String>
ConnectionSecureString In InArgument<Security.SecureString>
ExistingDbConnection In InArgument<UiPath.Database.DatabaseConnection>
ContinueOnError In InArgument<Boolean>
Bulk Update
UiPath.Database.Activities.BulkUpdate
Database

Updates a compatible DataTable in an existing database table. The activity also updates all the columns that are not in the collection of column names used as a primary key. Returns the number of rows affected.

Arguments

NameDirTypeReqDefaultDescription
TableName In InArgument<String>
DataTable In InArgument<Data.DataTable>
ColumnNames In InArgument<String[]>
AffectedRecords Out OutArgument<Int64>
ProviderName In InArgument<String>
ConnectionString In InArgument<String>
ConnectionSecureString In InArgument<Security.SecureString>
ExistingDbConnection In InArgument<UiPath.Database.DatabaseConnection>
ContinueOnError In InArgument<Boolean>

Properties

NameKindTypeDescription
BulkUpdateFlag property Boolean
Connect to Database
UiPath.Database.Activities.DatabaseConnect
Database

Connects to a database by using a standard connection string

Arguments

NameDirTypeReqDefaultDescription
ProviderName In InArgument<String>
ConnectionString In InArgument<String>
ConnectionSecureString In InArgument<Security.SecureString>
DatabaseConnection Out OutArgument<UiPath.Database.DatabaseConnection>
Disconnect from Database
UiPath.Database.Activities.DatabaseDisconnect
Database

Closes a connection to a database

Arguments

NameDirTypeReqDefaultDescription
DatabaseConnection In InArgument<UiPath.Database.DatabaseConnection>
Start Transaction
UiPath.Database.Activities.DatabaseTransaction
Database

Connects to a database and features a Sequence which can perform multiple transactions with the database. It returns a DatabaseConnection variable, providing a scope for Database activities. If UseTransaction is set to True, the contained operations are executed in a single transaction, and applied at the end if none of the them failed. If UseTransaction is set to False, all operations are committed individually. When this activity ends, the connection to the database is closed.

Arguments

NameDirTypeReqDefaultDescription
ProviderName In InArgument<String>
ConnectionString In InArgument<String>
ConnectionSecureString In InArgument<Security.SecureString>
ExistingDbConnection In InArgument<UiPath.Database.DatabaseConnection>
ContinueOnError In InArgument<Boolean>
DatabaseConnection Out OutArgument<UiPath.Database.DatabaseConnection>

Properties

NameKindTypeDescription
UseTransaction property Boolean
Run Command
UiPath.Database.Activities.ExecuteNonQuery
Database

Executes an SQL statement on a database. For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. For all other types of statements, the return value is -1.

Arguments

NameDirTypeReqDefaultDescription
Sql In InArgument<String>
AffectedRecords Out OutArgument<Int32>
ProviderName In InArgument<String>
ConnectionString In InArgument<String>
ConnectionSecureString In InArgument<Security.SecureString>
ExistingDbConnection In InArgument<UiPath.Database.DatabaseConnection>
ContinueOnError In InArgument<Boolean>
TimeoutMS In InArgument<Int32>

Properties

NameKindTypeDescription
CommandType property Data.CommandType
Parameters property Dictionary<String, Argument>
Run Query
UiPath.Database.Activities.ExecuteQuery
Database

Executes a query on a database and returns the query result as a Data Table

Arguments

NameDirTypeReqDefaultDescription
Sql In InArgument<String>
DataTable Out OutArgument<Data.DataTable>
ProviderName In InArgument<String>
ConnectionString In InArgument<String>
ConnectionSecureString In InArgument<Security.SecureString>
ExistingDbConnection In InArgument<UiPath.Database.DatabaseConnection>
ContinueOnError In InArgument<Boolean>
TimeoutMS In InArgument<Int32>

Properties

NameKindTypeDescription
CommandType property Data.CommandType
Parameters property Dictionary<String, Argument>
Insert
UiPath.Database.Activities.InsertDataTable
Database

Inserts a compatible DataTable in an existing database table. Returns the number of rows affected.

Arguments

NameDirTypeReqDefaultDescription
TableName In InArgument<String>
DataTable In InArgument<Data.DataTable>
AffectedRecords Out OutArgument<Int32>
ProviderName In InArgument<String>
ConnectionString In InArgument<String>
ConnectionSecureString In InArgument<Security.SecureString>
ExistingDbConnection In InArgument<UiPath.Database.DatabaseConnection>
ContinueOnError In InArgument<Boolean>