from the H2 website:

If a table has multiple indexes, *sometimes more than one index could be 
used.* Example: if there is a table TEST(ID, NAME, FIRSTNAME) and an index 
on each column, then two indexes could be used for the query SELECT * FROM 
TEST WHERE NAME='A' AND FIRSTNAME='B', the index on NAME or the index on 
FIRSTNAME. It is not possible to use both indexes at the same time.

In what conditions more then one index can be used?

regards,

Rinse

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/4e853fca-fab5-4955-b648-14083480ccc4n%40googlegroups.com.

Reply via email to