Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
binaryまたは bit(最大 64 ビット) を使用してバイナリ値を格納できます。
binary
bit
binary(n)使用と使用の違いは何ですかbit(m)(ここでn= 8 × m)?
binary(n)
bit(m)
n
m
それらはMySQL によって同じものとして認識されますか?
( MySQL >= 5.0.3 を使用していると仮定します。 )
必要に応じて、BIT または BINARY を使用してビットを格納できます。論理演算では、BIT データ型の方が使いやすい場合があります。
ストレージにはわずかな違いがあります。