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).
(在SQL中,您使用0和1来设置位字段(就像Access中的是/否字段一样)。)
In Management Studio it displays as a false/true value (at least in recent versions). (在Management Studio中,它显示为false / true值(至少在最近的版本中)。)
When accessing the database through ASP.NET it will expose the field as a boolean value.
(通过ASP.NET访问数据库时,它会将该字段公开为布尔值。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…