Link to home
Start Free TrialLog in
Avatar of Amohelang
Amohelang

asked on

Create,alter ,dropping a public synonym

I'm using oracle 8i, and I'd like to know how to create, edit ,drop a public synonym and where do you do all that, i.e in the schema itself or do you have to be outside the schema which you want to create the synonym for.

Thanx
Avatar of rramineni
rramineni

Create and Drop operations of Public synonyms are allowed by users who have been granted privileges "create public synonym" and "drop public synonym".

Once the synonyms have been created any user with drop public synonym privilege can drop it and vice versa. It need not be the owner of the object or the user who have created the synonym.

HTH
Avatar of Amohelang

ASKER

ok, but let's say now I want to edit the synonym to point to another schema, how do I do that?
ASKER CERTIFIED SOLUTION
Avatar of rramineni
rramineni

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Helena Marková
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept rramineni's comment as answer.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Henka
EE Cleanup Volunteer