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

Thread: grant to a role on remote object

  1. #1
    Join Date
    Feb 2003
    Posts
    67

    grant to a role on remote object

    I have a synonym to remote table via db link and I am trying to grant all on that to a role since application user access objects to a role.

    I am getting this error:

    grant all on trans_version to hpdevel
    *
    ERROR at line 1:
    ORA-02021: DDL operations are not allowed on a remote database

    trans_version is a synonym to remote object via db link.

    Is there any fix other than creating the table locally.

  2. #2
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492
    1) Create a view on the remote table.

    2) Grant all on trans_version_view to hpdevel;

    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

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