activities
latest
false
- Overview
- Cryptography
- Database
- Java
- Python
- WebAPI
Bulk Insert
Developer Activities
Last updated Nov 26, 2024
Bulk Insert
UiPath.Database.Activities.BulkInsert
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.
Designer panel
- Configure Connection... - Select an existing database connection or add a new one using the Connection Wizard.
- Target table name - The destination database table name. This field
supports only
String
variables. - Input data table - The source
DataTable
for the items to be inserted. This field supports onlyDataTable
variables.
Properties panel
Common
- Continue on error - This field only
supports
Boolean
values (True, False). The default value in this field is False. As a result, if this field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error. - DisplayName - The display name of the activity. This field supports only
String
variables.
Connection Configuration
- Connection string - The connection string
used to establish a database connection. This field supports only
String
variables. - Existing connection - An already open
database connection. If such a connection is provided, the
ConnectionString
andSecureConnectionString
properties are ignored. This field supports onlyDatabaseConnection
variables. - Provider name - The name of the database
provider used to access the database. This field supports only
String
variables. - Secure connection string - The connection
string used to establish a database connection as Secure String. This field supports only
SecureString
variables.
Input
- Input data table - The source
DataTable
for the items to be inserted. This field supports onlyDataTable
variables. - Target table name - The destination
database table name. This field supports only
String
variables.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Affected rows count - Stores the number of
affected rows into an
Int64
variable.
- Existing connection - An already opened database connection obtained from the Connect to Database activity.
- Input data table - The
DataTable
variable that is inserted into the Table. TheDataTable
columns' name and description must match the ones from the database table. - Target table name - The target database table in which the data is to be inserted.
Advanced options
Other
- Continue On Error - Specifies if the automation should continue even when the activity throws an error.
Output
- Affected rows count - The
number of affected rows stored in an
Int64
variable.