- Connect to OracleSQL
- Disconnect from OracleSQL
- Add User Access to Database
- Backup Database
- Delete Row(s) from Table
- Insert Row(s) into Table
- Remove User Access from Database
- Restore Database
- Run Query
- Select Row(s) from Table
- Export from Database
- Import into Database
...
The Connect to OracleSQL activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Data Source (text box editor type) (type: string): the database name to connect to. In the screenshot above the default XE database is used.
- Password (password editor type) (type: string): the password for the provided username.
- Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password for the sql server. (This parameter is used only when the user wants to send an encrypted password from outside the task, for example Flowster Portal).
- Server Name (text box editor type) (type: string): the name or IP of the SQL Server to connect to. If Oracle is installed on the same server where the activity is executed, then the field can remain blank. This field is recommended to be used when accessing an Oracle database created on a different server.
- Username (text box editor type) (type: string): the the username of the SQL Server Administrator. It can be used any user created for the database (for example, the user(s) used when creating a Workspace in Oracle Application Express).
...
This activity adds privileges for an user to a database table.
Activity Parameters
The Add User Access to Database activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Connection (text box editor type) (type: object): the connection object that was obtained as output from a Connect To OracleSQL activity.
- Table Name (text box editor type) (type: string): the database table that the rights will be granted on. This activity will grant permissions per table.
- UserNameForAccess (text box editor type) (type: string): the name of the user that will receive permissions.
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:
The Read Only Output variable are the possible output values that the activity will provide:
- Output (type: boolean): outputs True or False if the execution was successful or not.
Execution: the activity will search for the user and for the table. If found, will attempt to grant permissions over the table to the provided user:
Backup Database
...
- Backup Path (text box editor type) (type: string): the path where the backup file will be created. The path can be manually written or selected by clicking the button.
- BackupName (text box editor type) (type: string): the name of the backup file that will be created. Should be a .dmp extension file (E.G. XE.dmp, where XE is the name of the current database).
- exp.exe Path (text box editor type) (type: string): the the path of exp.exe (the Oracle export utility), or select it with the File Browser. By default, exp.exe is located in C:\oraclexe\app\oracle\product\11.2.0\server\bin\ folder, where C:\oraclexe\app\oracle\product\11.2.0\server\ is also the value for the ORACLE_HOME environment variable.
- Password (password editor type) (type: string): the password for the provided username. The password should be the same as the one given for the Connect to OracleSQL activity. The Backup Database activity creates a connection string based on the user provided at the connection activity and the password provided in the backup activity.
- Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password for the sql server. (This parameter is used only when the user wants to send an encrypted password from outside the task, for example Flowster Portal).
- SID (text box editor type) (type: string): the Oracle SID (Oracle System Identifier, which is used to distinguish Oracle database instances). By default it will be set to XE, which is also the Oracle's default database name.
...