samedi 1 juillet 2017

Oracle Sql Check Constraint != other table

I want to include a check constraint on a table between the primary key of the latter and the primary key of another table and insert! = Between the two, how can i do it? I've been tempted like this:

CONSTRAINT CK_RE CHECK (ID_RESP =! ID_PR (PR) AND CUSTOMER ID)

But I have not had any positive results




Aucun commentaire:

Enregistrer un commentaire