db2 grant 命令

查询表,发现出错,主要是提示没有权限,解决办法如下:

1、db2 connect to test

2、db2 grant dbadm on database to user odsuser,赋予用户odsuser的dba的权限给test数据库

    The SQL command completed successfully.

猜你喜欢

转载自zjy7554.iteye.com/blog/2022657