what is the best practice for this when converting from an access database or in general
+1
A:
The BIT
datatype is generally used to store boolean values (0 for false, 1 for true).
Alex Martelli
2009-11-22 00:18:19
+1
A:
The equivalent is a bit field.
In SQL you use 0 and 1 to set a bit field (just as a yes/no field in Access). In Management Studio it displays as a false/true value (at least in recent versions).
When accessing the database through ASO.NET it will expose the field as a boolean value.
Guffa
2009-11-22 00:18:58
A:
bit
will be the simplest and also takes up the least space. Not very verbose compared to "Y/N" but I am fine with it.
o.k.w
2009-11-22 00:21:27