It took a little searching to figure out how to do an "exclusive or" in a check constraint. Here you go, you're welcome:
(IsNull([ColA],[ColB]) Is Not Null And ([ColA] Is Null Or [ColB] Is Null))
Technorati Tags:
sqlserver,
sql
posted @ Thursday, January 24, 2008 4:12 PM