Action group: Databases
Creates a connection context to the standard database
More details can be found here: Instructions on how to connect to Microsoft SQL Server from Robin Studio
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
DATABASE TYPE | DB type | Robin.String | Yes | |
Login | Login to connect the database | Robin.String | No | |
Password | Password to connect the database | Robin.Object | No | |
Server host | Server host | Robin.String | No | |
Server port | Server port | Robin.Numeric | No | |
DB name | DB name | Robin.String | No | |
Timeout | Time limit for connection creation. Further it is used as the maximum waiting time for the execution of requests in the connection. The default is 60 s. May depend on driver implementation. | Robin.Numeric | No | |
Transaction isolation level | Enable the mode of using transactions inside the connection | Robin.Boolean | true | No |
Parameters | Additional connection parameters in the form of a dictionary | Robin.Dictionary | No | |
Results | ||||
DB context | Connection context to the selected database | Robin.DbContext | Database context |
The difference between custom connection and standard connection is that with standard connection you can connect only to 1 of 4 available databases (Oracle, MySql, PostgreSql, MsSqlServer), with custom connection you can connect to any database for which jdbc-driver is installed.
Connect to MsSqlServer database and execute the query
SELECT * FROM Table1
ORDER BY id ASC;
Use the actions "Connect Standard Db", "Execute Sql Statement".
The program robot completed successfully. The request has been fulfilled.