If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
db2 connect to A
db2 revoke connect on database from public
db2 connect to B
db2 revoke connect on database from public
db2 connect to C
db2 revoke connect on database from public
db2 connect to A
db2 grant dbadm on database to user1
db2 connect to B
db2 grant dbadm on database to user1
db2 grant dbadm on database to user2
db2 connect to C
db2 grant dbadm on database to user1
Note that "dbadm" authority has a full control on database. If you want the grants more specific on the database object level then you can follow the reference manual