Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: need help with GRANT to 2 users
In article <3AA6C30A.C348499B_at_hotmail.com>, srcnckpc <@hotmail.com> writes:
>Please help - I cannot figure what silly mistake I am making.
>If new users are already defined as 'pa' and 'ma,' how can I grant both
>of them privileges on multiple tables in the same query?
>
>grant select on sales_rep, customer to pa, ma
> *
>ERROR at line 1:
>ORA-00990: missing or invalid privilege
>
>
>thanks so much.
>
Can't guarantee the syntax is identical from DB2 to Oracle, but in DB2 you must specify what kind of object your grant is for. Try grant select on table sales_rep, customer to pa, ma
![]() |
![]() |