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
Explain about various levels of constraint.
Can pl sql procedure have a return statement?
What can you do with pl sql?
what is a table in a database ? : Sql dba
what are string data types? : Sql dba
Explain the the update statement in sql?
How much does sql cost?
what are the different tables present in mysql? : Sql dba
Is id a reserved word in sql?
Is there a way to automate sql execution from the command-line, batch job or shell script?
What is the mutating table and constraining table?
How can a function retun more than one value in oracle with proper example?
How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?
State some properties of relational databases?
What is primary key and foreign key with example?