How would I write a table check constraint to make sure that two columns don't 
both have nulls at the same time.
The following doesn't do it because it because it does not allow one column to 
be null while the other holds data?

check(teachgroup is not null AND set is not null)

regards
garry

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to