varchar(255) v tinyblob v tinytext

后端 未结 3 793
北荒
北荒 2021-01-02 00:26

My side question is there really any difference between tinyblob & tinytext?

Buy my real question is what reason, if any, would I choose varchar(255) over tiny

3条回答
  •  轮回少年
    2021-01-02 00:58

    VARCHAR(255) is more SQL standard than tinyblob or tinytext. So your script, and application would be more portable across database vendors.

提交回复
热议问题