Tinyint vs Bit?

前端 未结 16 2069
暖寄归人
暖寄归人 2020-12-13 05:13

I don\'t want to touch-off a religious war here, but there seem to be two schools of thoughts in how to represent boolean values in a database. Some say bit is

16条回答
  •  感情败类
    2020-12-13 06:09

    If you're using MySQL, then it's not recommended to use the BIT data type - http://www.xaprb.com/blog/2006/04/11/bit-values-in-mysql/

提交回复
热议问题