db2 grant all privileges on table to user code example Example: how to give select privileges to user in db2 db2 grant dataaccess on database to user winuser1