Can we relate two different tables from two different users
in ORACLE,PL/SQL?
Answers were Sorted based on User's Feedback
Answer / sakthi santhanam.a
yes, we can do that... in oracle using GRANT command..
" GRANT select on table_name to nextuser(2nd user)"
this is the query...
wish you all the success
sakthi.A
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / shilpa.oracle
Yes, we can relate tables of different schemas provided we
should have privileges on that table
create table test_emp
(empno number(5),deptno number(5),constraint dept_ref
foreign key (deptno) references schema.dept(deptno))
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sakthi santhanam.a
yes, we can do that... in oracle using GRANT command..
" GRANT select on table_name to nextuser(2nd user)"
this is the query...
wish you all the success
sakthi.A
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / swapna
Yes we can relate two tables from 2 different users
E.g. if user A has table Ta and User B has Table Tb and
Table Tb is child table and needs foreign
key on A.Ta then
we need to grant "references" object privillege to User B
on table Ta.
Is This Answer Correct ? | 0 Yes | 1 No |
What is Histogram?
How to create an array in pl/sql?
what is self join and why is it required? : Sql dba
explain the delete statements in sql
Begin For j in 4403201000 .. 4403202000 Loop If mod (j, 100) = 0 then Dbms_output.put_line (j); End if; End loop; End; what will be the output of this question
How subquery works in sql?
What is the command used to fetch first 5 characters of the string?
Can we use commit inside a trigger?
Explain ddl statements in pl/sql?
How do I kill a query in postgresql?
In table a 1lakh data is present,in table b 20 thousand data is present, to get unique data from table a and b which join to be considered. whether right outer join or left inner join.
What are the types of triggers in sql?