-
Check whether additional software and/or licenses of the database manufacturer are required for the planned database connection.
-
If necessary, install the required software on the ibaPDA computer, e.g. the software "ADO.NET Data Provider" for SAP HANA connections.
-
In ibaPDA, open the I/O Manager, Inputs tab, and configure one or more database connections on the SQL interface. See Creating a database connection
For database queries (read access)
-
Under the SQL interface on the Inputs tab, add a module SQL query and select one of the previously configured database connections for the module.
-
Formulate an SQL statement for the database query with or without parameters.
-
If you use parameters: Assign the corresponding analog and/or digital signals to the parameters whose values you want to use for the query.
-
Configure the analog and/or digital input signals.
For database commands (write access)
-
Under the SQL interface on the Outputs tab, add a module SQL command and select one of the previously configured database connections for the module.
-
Formulate an SQL statement as an SQL command with or without parameters.
-
If you use parameters: Assign the corresponding analog and/or digital signals to the parameters whose values you want to write in the database.
Caution |
|
|---|---|
|
The network and DB can be overloaded by highly cyclical DB accesses and/or very large data volumes. In the SQL statements, any SQL commands can be used and therefore cause damage (e.g. "delete table", "drop database", etc.). Therefore...
|
|