Raheel Gupta wrote:
> CREATE TABLE users (
> uid INTEGER PRIMARY KEY AUTOINCREMENT,
> username VARCHAR(100) UNIQUE NOT NULL DEFAULT '',
> email VARCHAR(255) UNIQUE NOT NULL
>
> I wanted to know if I create an INDEX for the column "email" what isg going
> to be the extra space the index will occupy ?

About the same space that would be needed for a table with only the
email column, that is, the actual size of all email values, plus a few
bytes for each record.


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to