I have two Tables:
TableA(
parameterone int,
parametertwo int,
PRIMARYKEY(parameterone),
UNIQUE(parameterone)
);
TableB(
parameterthree int
)INHERITS(TableA);
I expect from this that when we insert some thing in TableB then
parameterone should be unique, but the database is not enforcing the rule
and it takes duplicate values. But when I insert two duplicate keys in
TableA then it complains. This means that Inheritance removes the
primarykey etc from the inherited table??? I couldn't think why this object
oriented behaviour doesn't work here.
Can some one explain this behaviour.
Thanks
Dutt
--Dutt Kalapatapu ________________________ |ipVerse Inc., | |1901 Landings Drive | |Mountain View,
CA-94043| |Telefono: 650 919 0647 | |________________________|