nn6eumtr <[email protected]> wrote: > And I did a query: > > select * from tmp where x = 9 > > Would sqlite know how to use the index to find records where x = 9? Or > would it opt for a scan instead?
Why not ask SQLite itself? In sqlite3 console, or your favorite SQLite management tool, run this query: EXPLAIN QUERY PLAN select * from tmp where x = 9; -- Igor Tandetnik _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

