参考:https://stackoverflow.com/questions/30062/boolean-field-in-oracle
-
Use an integer and just don't bother assigning anything other than 0 or 1 to it.
-
Use a char field with 'Y' or 'N' as the only two values.
-
Use an enum with the CHECK constraint.
306



被折叠的 条评论
为什么被折叠?



