I\'d like to define a constraint between two nullable FK\'s in a table where if one is null the other needs a value, but both can\'t be null and both can\'t have values. Log
Alternate way is to define this check constraint in a procedure. Before you insert a record in the derived table, the constraint should be satisfied. Else insert fails or returns an error.