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
Why cross join is used?
What is date functions?
How do I save a stored procedure?
What is difference sql and mysql?
what is the difference between primary key and unique key? : Sql dba
What is blind sql injection?
What are instead of triggers?
Are there any features that are decommissioned in 11g that are not present in 11g?
what is a database transaction? : Sql dba
Can sql function call stored procedure?
Why do we use procedures in pl sql?
What is sql scripting?
What is cross join sql?
What is file based approach?
how do you login to mysql using unix shell? : Sql dba