1、create user userName identified by password;
2、grant select any table to userName; --授予查询任何表
3、grant select any dictionary to userName;--授予 查询任何字典
执行上面三步就行了,那么这个用户就只有查询权限,其他的权限都没有!!
1、create user userName identified by password;
2、grant select any table to userName; --授予查询任何表
3、grant select any dictionary to userName;--授予 查询任何字典
执行上面三步就行了,那么这个用户就只有查询权限,其他的权限都没有!!