database - Sqlite giving column more size than needed -
i have data putting in database. make field "coupondetail text(10000)" store coupon detail, consider not coupondetail 10,000 chars long. m curious know how space column take in database when coupondetail text lesser 10,000 1000 chars?
sqlite not care how declare column types , ignores maximum length specified. the declared type hint; non-integer primary key
column can contain type.
the size taken in database file depends on values put in. in record format, strings stored length followed string data. no empty space left there.
Comments
Post a Comment