richardana
08-08-2001, 11:37 AM
To all the Script Guru,
I am trying to compile a script to create about 250 users and 3 different roles.
Then
Grant select on T1, T2, T3..to select_role(200 users) We have more 100+ tables) but there are 5 tables that they cannot
select from.
Grant select, insert, update on T1,T2, T3, T4 to select_insert_update_role
and
Grant select, insert, update, delete ANY TABLE to select_insert_update_delete_role.
I created the script to create users as follow:
create user '&username' identified by '&password';
enter value for username: john
enter value for password: doe
THEN
I received an error message:
ERROR at line
ORA-01935: missing user or role name
I need your help. I know there is a way to do this but I just don't HOW.
Please help.
Richard
I am trying to compile a script to create about 250 users and 3 different roles.
Then
Grant select on T1, T2, T3..to select_role(200 users) We have more 100+ tables) but there are 5 tables that they cannot
select from.
Grant select, insert, update on T1,T2, T3, T4 to select_insert_update_role
and
Grant select, insert, update, delete ANY TABLE to select_insert_update_delete_role.
I created the script to create users as follow:
create user '&username' identified by '&password';
enter value for username: john
enter value for password: doe
THEN
I received an error message:
ERROR at line
ORA-01935: missing user or role name
I need your help. I know there is a way to do this but I just don't HOW.
Please help.
Richard