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.
Answer Posted / 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 |
Post New Answer View All Answers
What is primary key and foreign key?
What does the argument [or replace] do?
What is oracle sql developer?
what is unique key constraint? : Sql dba
What is the life of an sql statement?
What are the rules to be applied to nulls whilst doing comparisons?
How do I remove all records from a table?
How to assign sql query results to pl sql variables?
how can we find the number of rows in a table using mysql? : Sql dba
how to convert dates to character strings? : Sql dba
How to disable a trigger name update_salary?
What are sql*plus environment variables?
what is sub-query? : Transact sql
what is a trigger? : Sql dba
What is the difference between alter trigger and drop trigger statements?