In SQLite3 I am going to be storing a very long string that looks something like this:
string linkList = "www.blah.com,www.meh.com,www.hah.com";
will definitely exceed 255 chars, will probably be over 1000 chars
Should the column linkList
be a varchar
, TEXT
or something else to store a string that will probably be longer than 1000 chars
CREATE TABLE(uId INT PRIMARY KEY, linkList varchar);
What would be the best variable type to use for the column linkList
?
question from:
https://stackoverflow.com/questions/9755803/whats-the-best-sqlite-data-type-for-a-long-string 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…