Database Administration (MOSC)

MOSC Banner

Truncate table privilege on user 2 table to user1.

Hi All,

Application team wants to truncate privilege on user 2 table to user1.

we have 2 options for truncate privilege for user 2 table to user 1.

1) Grant "drop any table" to user1 - not recommended bcz that privilege is very powerful.

2) Create procedure for truncates tables owned by user2 and will give exec priv to user 1 - app team should to use commend like "exec <procedure_name>;" for truncate

but

they want to run commend like " truncate user2.<table_name>;".


so, how will do. please share the steps or process??

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center