I\'m working in Microsoft Visual C# 2008 Express and with SQLite.
I\'m querying my database with something like this:
SQLiteCommand cmd = new SQLiteC
Do a second query:
cmd.CommandText = "select count(id) from myTable where word = '" + word + "';"; cmd.CommandType = CommandType.Text; SQLiteDataReader reader = cmd.ExecuteReader();
Your reader will then contain a single row with one column containing the number of rows in the result set. The count will have been performed on the server, so it should be nicely quick.