I came to know that MySQL Workbench allows a BIN
flag on a column for storing data as binary strings here.
If that's the case, what's the difference between BIN
flag and the datatype BINARY(n)
? Besides, it even allows me to set this flag on columns with datatypes VARCHAR(n)
, CHAR(n)
, etc. which seems to be conflicting.
When should I exactly use this flag?