I want to create synonym for table emp but in my pc it is
giving insufficient previliges.I am using user scott.Please
suggest me.
Answers were Sorted based on User's Feedback
Answer / sanjaya
STEP 1:
-------
OPEN SQL*PLUS
LOGIN AS
USER: SYSTEM
PASSWORD: ********
STEP 2:
-------
SQL> GRANT OLAP_USER TO SCOTT;
STEP 3:
-------
SQL> CONNECT
Enter user-name: SCOTT
Enter password: *****
STEP 4:
-------
SQL> CREATE [PUBLIC] SYNONYM <SYN_NAME>
FOR <USER_NAME.ABLE_NAME>;
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sreekumar
login as the user
create or replace synonym <<synonym_name>> for
object_owner.object_name;
or
any other super user like sys,sysadmin,etc can also create
sysnonymn for any schema.
Thanks
Sree
Oracle10g DBA
Is This Answer Correct ? | 0 Yes | 0 No |
what is sub-query? : Transact sql
What is output spooling in sql*plus?
Its possible to add more than one primary key for the table
How would you hide a table in sql. ie the table can be only visible to its maker?
What is acid property in a database?
What is diff between bulk collect and forall
What is the use of index in sql?
Is keyword pl sql?
Can a procedure in a package be overloaded?
Is nosql relational?
What is the purpose of the primary key?
What are the types of triggers ?
26 Answers Aspire, BirlaSoft, TCS,