Use the DB_CHANGE class to perform any operation on your database that does not require access to a result. You can for instance modify table row content, drop table rows, create and delete tables.

Note: Take a look at the Data Storing capability if you want to insert table rows.

DB_CHANGE allows you to modify the database data using the SQL language:

  • Prepare your SQL query and use modify:

modification: DB_CHANGE -- Modification tool. ... create modification.make modification.modify ("Update CONTACTS set Firstname = ' John'")

  • Commit your changes with your session control:

session_control: DB_CONTROL -- Session control. ... session_control.commit

Tip: It is always better to check the database status for errors before committing changes.

See Also:
Data storing
Stored procedures
Implementation

ef5568ff-dc7c-4c85-0174-335fdab1bd84
cached: 03/26/2017 10:26:06.000 AM