Assume the following table definition in HSQLDB:
create table message(id varchar(255) primary key not null, data clob not null);
Will the index which HSQLDB creates automatically on id
(being the primary key) speed up a substring search like the following?
select * from message where id like 'foo:%'