Skip to content

Commit

Permalink
Add documentation for updatable cells in DB2i SQL statements
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
  • Loading branch information
worksofliam committed Dec 19, 2024
1 parent ca39ae1 commit e2e4f39
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/content/docs/extensions/db2i/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ sql: select * from sample.employee;
cl: dspffd sample/employee
```

### Updatable cells

It's possible to update directly from running a SQL statement. You can use the `update:` prefix with a select statement to make the result set updatable. This will allow you to edit the data in the result set and then save the changes back to the database.

A fully qualified table name is required for the fields to be editable.

```sql
update: select * from sample.employee;
```

## SQL Job Manager

This view allows users to manage different SQL jobs, each with their own unique JDBC configuration. A new job can be created by clicking the database icon in the SQL Job Manage title bar. Or, if you have not created a new job before, there is a big button to do the same action.
Expand Down

0 comments on commit e2e4f39

Please sign in to comment.