I have a table that is simply a lookup with two columns.
spiceId - INT
spiceDes - VARCHAR(100)
Now, I have the columns set as allow NULL for both columns, but I would like to add a constraint where it should be that only one column could be NULL for any record. That is spiceID and spiceDes could not, both be NULL.
How can I add this constraint?