DB: firebird 2.5.4
I have 1 table, 2 string fields and 1 computed field:
Files name varchar 256 extension varchar 4 filename computed by name||extension
I want to find the file name in this table (case insensitive)
Inquiry
Select * from files f where upper(f.filename) = upper('test.txt')
This works, of course, and to speed up the request, I created a computed index for files on upper(filename)
CREATE INDEX test ON FILES COMPUTED BY (upper(filename));
Now the same query no longer works! It does not return anything. I tried the index below, but it does not work either.
WTF? Have I missed an option somewhere?
source share