Setting Table Properties

You can set properties, such as DB2 permissions, for a table.

To set table properties:

1.         In the Table Data branch of the DB2 Web Query Tool navigation tree, click the table for which you want to set properties. A drop-down menu appears.

2.         On the drop-down menu, select Properties. The Table/View Properties page opens.

3.         Optional: Type a description of the table in the Description box..

4.         Select the permission that you want to grant from the Privileges list. The existing grantees for each privilege appear in the Grantees list.

5.         Select the SQL ID to which you want to grant permissions from the drop-down menu.

Tip:     To add an ID to the dropdown menu, type the ID that you want to add in the New ID field and click Add.

6.         Optional: select the With Grant Option box. This option gives the selected ID the power to grant the selected permission to other users.

7.         Click Grant To. The selected SQL ID appears in the Grantees list for that privilege. If you have selected the With Grant Option box, a (G) appears after the ID.

8.         To revoke permissions, select the desired privilege from the Privileges list and the desired ID from the Grantees list. Click Revoke. A confirmation message appears.

9.         Click Update. DB2 Web Query Tool updates the table properties in the database. The message page opens, displaying a confirmation message.