SQL Server Yes/No Field | Type

preview_player
Показать описание
The SQL Server Yes/No Field or binary and tinyint alternatives. We quickly review the datatypes for a flag or boolean field and using INT or tinyint as an alternative.

Рекомендации по теме
Комментарии
Автор

I've created a form that inserts data into my table. The first bit column works correctly. However, There are 3 other bit columns and they are incorrect. For example on the 4 columns if I enter 0.0.0.0 on the form it goes in the DB as False, True, True, True. If I Enter True, True, True, True on the form, it goes in the DB as True, False, False, False. So no matter what, the first column is correct but the other 3 are incorrect. Any suggestions?

bigrevkev