I am practicing database creation and tablespaces and table implementation. I have a problem which I have searched the internet for some ideas, but none of them are precise to what I have now. My question is if it is possible to create a table which uses a foreign key which references to another table column in a different tablespace. Oracle SQL.
create table agent(
code Number(4),
name varchar(30),
area Number(4),
constraint pk_Code primary key (code),
constraint fk_Area foreign key (area) references Warehouse(code))
tablespace sales;