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

What is sql injection owasp?

723


What is the use of <> sql?

735


How to prepare for oracle pl sql certification?

776


How do you declare a variable in pl sql?

745


What does where 1 1 mean in sql?

742






what is oltp (online transaction processing)? : Sql dba

717


What are transaction and its controls?

734


How subquery works in sql?

725


Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?

769


Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?

931


What does the argument [or replace] do?

802


How to change sql*plus system settings?

719


What is the need of merge statement?

754


What are database links used for?

745


How do I view tables in mysql?

720