Grant privilege [message #400946] |
Thu, 30 April 2009 09:26 |
sant_new
Messages: 165 Registered: June 2008
|
Senior Member |
|
|
Hi all,
Our application runs from a default schema 'aris' and we have synonyms created for the tables of all other schemas('asg','cmi'...) in the database so the 'aris' user can read all the tables in the database.
Logged in as 'aris' user, we should be able to truncate any table in 'cmi' schema. I think Oracle does not have 'truncate' table privilege. CMI user already has 'delete any table' privilege.
Aris user has DBA privilege; alsc_bl is a table in 'cmi' schema. alsc_bl public synonym has been created. We are able to select records in alsc_bl table when logged in as 'aris' user. But we are not able to truncate it.
I run this:
aris@test> truncate table alsc_bl;
*
ERROR at line 1:
ORA-00942: table or view does not exist
Please give me your suggestions. Thanks
|
|
|
|
|
|
|
Re: Grant privilege [message #401039 is a reply to message #400949] |
Fri, 01 May 2009 04:38 |
cookiemonster
Messages: 13962 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
BlackSwan wrote on Thu, 30 April 2009 15:32 | >Aris user has DBA privilege;
I suspect the statement above is not correct & even if it were correct it would do nothing for TRUNCATE table of other schema.
|
That's not true.
|
|
|