check constraint for two columns
258965Aug 16 2005 — edited Aug 16 2005Hi
I have a table like this structure:
test
col1 col2
then I'd like inseert into this table when col1 & col2 are null and if one of the is full (col1) I don't have ability to insert the other column(col2) then never both of them full.
How can I do this logic with check constraint?
Thanks