Unique constraint spanning multiple tables
335489Jan 15 2007 — edited Jan 15 2007I'm using oracle 10g. I would like to know if there is a way to create unique constraint spanning multiple tables?
As an example,
I've 2 tables. One called ORDER(id, name) and other one called DEVICE (id, name)....My program inserts values into both ORDER and DEVICE at the same time....I want the database to disallow same values in the combination of ORDER and DEVICE.
Thanks