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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -