MSSQL: how to create a table with column that can contain only 2 values
Hello, is there a way to create a column in a table that can contain only two possible values, for example 0 or 1, true or false?
This would be a MSSQL database.
The table will contain 4 columns: id, server, state, on_date, off_date
From this 4 column, 'state' can only be true or false or 0 or 1.
Thanks!
|