SQLite VARCHAR default size

前端 未结 3 1302
暗喜
暗喜 2021-02-06 22:54

In SQLite, when I say:

CREATE TABLE my_table 
(
    my_column VARCHAR 
);

without specifying the size of VARCHAR, what is the defa

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-06 23:17

    From what I can gather, VARCHAR is the same as TEXT

    http://www.sqlite.org/datatype3.html

    Also see http://www.sqlite.org/different.html#flex

提交回复
热议问题