Обсуждение: Using constraint

Поиск
Список
Период
Сортировка

Using constraint

От
"TURPIN Olivier FTM/DSI/EXT"
Дата:
Hello,

I have created two tables on v713:

create table table1
(
 Name varchar(10)
);

create table2
(
 Name varchar(10),
 table1OID OID CONSTRAINT verif REFERENCES table1 ( OID )
);

I get an error message while creating table2, indicating that no UNIQUE
criteria exists on table1.
Does anyone can explain this  to me ?

Thanks

Olivier