I would like to add a check constraint to a single column, but I can't see an option for it.
For instance the column YN_Column can only accept the values Y or N.
How can I do it? Can you help me with it?
Thank you for your help!
Pinned topic Check constraint for a single column
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-27T08:45:13Z at 2013-02-27T08:45:13Z by MarkOrmos
SystemAdmin 110000D4XK374 Posts
Re: Check constraint for a single column2013-02-26T16:19:52ZThis is the accepted answer. This is the accepted answer.Hi, Mark.
You want to add a check constraint to the table which contains the column. Then enter the check condition as the expression.