In order of preference a) use FastBit software b) normalize your database design to eliminate the array c) use a BLOB of 125 bytes and user defined functions to operate on them d) use a string of 1000 characters ('0' or '1') and the SUBSTR() function
-----Urspr?ngliche Nachricht----- Von: Oskar Schneider [mailto:oskars93 at yahoo.com] Gesendet: Mittwoch, 04. M?rz 2015 16:42 An: sqlite-users at mailinglists.sqlite.org Betreff: [sqlite] Bitfield in Sqlite3-Table Hello, what is the best way to implement a Bitfield of size 1000 as a column in a Table. I need to make queries to select all rows which have the nth bit set?The bitfield describes for each day in about three years if a specific task needs to be done. _______________________________________________ sqlite-users mailing list sqlite-users at mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___________________________________________ Gunter Hick Software Engineer Scientific Games International GmbH FN 157284 a, HG Wien Klitschgasse 2-4, A-1130 Vienna, Austria Tel: +43 1 80100 0 E-Mail: hick at scigames.at This communication (including any attachments) is intended for the use of the intended recipient(s) only and may contain information that is confidential, privileged or legally protected. Any unauthorized use or dissemination of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender by return e-mail message and delete all copies of the original communication. Thank you for your cooperation.