DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: truncate

  1. #1
    Join Date
    Dec 2002
    Posts
    89

    truncate

    Hi,
    User A owns table temp_t .Is it possible to have user B truncate that table.

    thanks,

  2. #2
    Join Date
    Sep 2001
    Location
    Düsseldorf, Germany.
    Posts
    588
    If user 'B' has 'DROP ANY TABLE' priviledge, then user 'B' can truncate tables own by user 'A'

  3. #3
    Join Date
    Dec 2002
    Posts
    89
    is it possible just to truncate that table without giving any system
    prev..like drop any table

  4. #4
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    no

  5. #5
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    User A could create a stored procedure to truncate that table, and grant execute permission on it to users B, D, F, whoever.

    Stored procedures created with DEFINER rights, rather than INVOKER rights, are an excellent way of controlling permissions in this way.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width