Hi Jon,
Bert Wagner
11

Yeah, that works for Nulls but still looks ugly for Check Constraints.

The INSERT statement conflicted with the CHECK constraint “CK__#A870C634__First__A964EA6D”. The conflict occurred in database “tempdb”, table “@Person”.

Thanks for the feedback. I guess I’ll just keep it in the app for now. I really don’t like the coupling/friction though!

Like what you read? Give Jon Nyman a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.