You can set properties, such as read, write, and execute authority, for a query.
To set query properties:
1. Expand the SQL Queries branch of the desired connection in the DB2 Web Query Tool navigation tree, until the query for which you want to set properties is visible.
2. Click the desired query. A drop down menu appears.
3. On the drop-down menu, click Properties. The Object Properties page opens.
4. Select a group for the query. To add a new group, type the name of the group and click Add.
Note: Because each group is associated with an SQL ID, your DB2 administrator must add the desired group to your DB2 installation before you can add the group to DB2 Web Query Tool.
5. Optional: Edit the name of the query. Select a category for the query. To add a new category, type the name of the category and click Add.
6. Optional: Type a description of the query.
7. Set permissions for the query.
You can set Read, Write, and Execute permissions for the query. By default, the creator of the query has Read, Write, and Execute permissions. You can specify permissions for other users in the group specified for the query, as well as permissions for all users:
Read |
The user can view the query and the SQL source. |
Write |
The user can modify or delete the query. |
Execute |
The user can run the query. |
8. Click Save. DB2 Web Query Tool saves the query, and displays a confirmation message.