SQL に関する簡単な質問: 次のようなチェックを行うにはどうすればよいですか。
Alter Table Invoices WITH NOCHECK
ADD CHECK
これは、チェックを追加してcolumn PaymentDate can be null if another column Payment Total is equal to 0とalso that PaymentDate is not null if Payment Total is greater than 0.