Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
create user a identified by hello ;
create user b identified by hello ;
 
create table a.a(i int primary key) ;
create table b.b(j int primary key, i int) ;
 
alter table b.b add constraint bc foreign key (i) references a.a(i)
                                                                                       *
 
ERREUR à la ligne 1 :
ORA-00942: Table ou vue inexistante
Ne me dites pas qu'il n'est pas possible de référencer inter-schémas