grant inside trigger [message #204649] |
Tue, 21 November 2006 09:01 |
cducdu
Messages: 3 Registered: November 2006
|
Junior Member |
|
|
Hello,
i have creating a trigger on create in a schema with the following code:
begin
execute immediate 'grant select on ora_dict_obj_name to user_report';
end;
any error occur during compilation, but when i create e new table i have: ORA-30511: invalid DDL operation in system triggers
Is it possible to grant inside a trigger ? if yes how could i do that, or what is the other way to do that ?
thx
|
|
|
|