hussein2000
April 30th, 2007, 02:53 AM
Hi All
I have to Schemas IN One database and each Schemas have many tables
so some table in Schemas A need to be related to tables in Schemas B.
FOR EX :
Emp table in Schemas A i want to relat it to Dept table in Schemas B
SO
When i pass this create query it gives an error
my query is
create table emp(empno number constraint emp_bk primary key,empname varchar2(50), deptno number constraint dept_fk references B.Dept(Deptno))
B is A Schemas which contain Dept table .
please help.
thanks
I have to Schemas IN One database and each Schemas have many tables
so some table in Schemas A need to be related to tables in Schemas B.
FOR EX :
Emp table in Schemas A i want to relat it to Dept table in Schemas B
SO
When i pass this create query it gives an error
my query is
create table emp(empno number constraint emp_bk primary key,empname varchar2(50), deptno number constraint dept_fk references B.Dept(Deptno))
B is A Schemas which contain Dept table .
please help.
thanks