Page History
...
| Note | ||||
|---|---|---|---|---|
| ||||
LANSA Composer does not guarantee that any form of SQL statement that is valid for your target database can successfully be executed through the SQL database activities, nor that every form of SQL stored procedure can successfully be executed. |
| Anchor | ||||
|---|---|---|---|---|
|
Refer to the following example processing sequences supplied with LANSA Composer for working (*) examples that use the SQL database activities. (*) Note that some setup will be required on your system to enable these examples to execute successfully. Refer to the notes accompanying the example processing sequences for details:
- EXAMPLE_SQL01: Example of using the SQL_QUERY activity
- EXAMPLE_SQL02: Example of using the SQL_UPDATE activity
- EXAMPLE_SQL03: Example of using the SQL_CALLQRYCSV activity
Related SQL database activities
The SQL_CONNECT activity returns a "handle" that can then be passed on to the other SQL database activities to accomplish a range of database tasks. The full suite of SQL database activities are briefly described below:
...
Use the following activities to query the database:
Query database using SQL and iterate the results~
Query database using SQL
Query database using SQL to output CSV file
Use the following activities to perfom insert, update and delete operations in the database:
Update database using SQL
Use the following activities to execute an SQL stored procedure in the database:
Execute an SQL stored procedure
Query database using an SQL stored procedure to CSV
Query database using an SQL stored procedure
Use the following activities to implement transaction control relating to any database insert, update or delete operations you have performed:
Commit a database transaction using SQL
Rollback a database transaction using SQL
...