Can we relate two different tables from two different users
in ORACLE,PL/SQL?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we join tables without foreign key?

520


what is the syntax used for partition in tsql? : Transact sql

536


what tools available for managing mysql server? : Sql dba

529


What is trigger explain with example?

550


What are the different ways to optimize a sql query?

484






What is where clause in sql?

530


What is on delete restrict?

534


How do I view a sql trace file?

564


Does sql view stored data?

534


What's the difference between a primary key and a clustered index?

510


Which is faster count (*) or count 1?

538


What do you mean by stored procedures?

545


what are all types of user defined functions? : Sql dba

544


How to place comments in pl/sql?

602


What are joins in sql?

534