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 |
i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5
What is attribute indicator in pl sql?
How to update salary of employees department wise?
Which is faster view or stored procedure?
What is normalisation in sql?
Is oracle sql free?
What is the mutating table and constraining table?
Authentication mechanisms in Sql Server ?
What operators deal with null?
Why stored procedures are faster than query?
What is sql table?
What are the types of records?