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