Grant SELECT on multiple tables oracle

后端 未结 5 629
攒了一身酷
攒了一身酷 2020-12-11 00:37

I have 3 tables table1,table2,table3. I want to grant(select for example) these tables to a user, user1.

I know that I can grant with:

grant select          


        
5条回答
  •  囚心锁ツ
    2020-12-11 01:32

    my suggestion is...create role in oracle using

    create role ;
    

    then assign privileges to that role using

    grant select on  to ;
    

    then assign that group of privileges via that role to any user by using

    grant   to ...;
    

提交回复
热议问题