If I have have the table:
create table foo
(
a int references bar(id),
b int references baz(id)
)
.... how do I make sure one and only one of the columns a and b are
non-null? Is it even reasonable?
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
create table foo
(
a int references bar(id),
b int references baz(id)
)
.... how do I make sure one and only one of the columns a and b are
non-null? Is it even reasonable?
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Comment