DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Public Synonym - Insufficient privileges

  1. #11
    Join Date
    Sep 2000
    Location
    VA
    Posts
    343
    Using this procedure, I generated the 'Create Public Synonym ....' statements for all the tables and then used them individually to generate the synonyms - without using the 'Execute Immediate..'. My work is done - in a indirect way - but if anyone can think of anything that we may have missed here, I would surely like to know about it.

    Thanks for all your help.
    Shiva.

  2. #12
    Join Date
    Mar 2001
    Posts
    314
    GRANT the user "CREATE PUBLIC SYNONYM" Priv before executing the procedure.

    -amar

  3. #13
    Join Date
    Aug 2001
    Location
    bangalore,india
    Posts
    17

    Wink

    HI.........

    U HAVE TO GRANT CREATE PUBLIC SYNONYM TO THE USER EXECUTING THE PROCEDURE.ONLY THEN HE CAN CREATE A PUBLIC SYNONYM.CREATE ANY SYNONYM PRIV. WILL NOT ALLOW TO CREATE PUBLIC SYNONYM

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