1. 连接数据库:db2 connect to study2. 查询当前用户模式:select current schema from sysibm.sysdummy1 或 select current schema from sysibm.dual3. 切换用户模式:set current schema toms4. 切换用户: db2 connect to cpsdb user Administrator using 1111115. 给其他用户授权:db2 grant dbadm on database to user odsuser6. 查看当前用户的权限: db2 get authorizations
暂无评论