Board index » delphi » where upper(my_field)
Sergio Gonzalez
![]() Delphi Developer |
where upper(my_field)2008-04-22 08:48:33 PM delphi148 Hello! Now I have installed FB1.5, but I hope this is the same with Interbase 6 I have a table with an index on MY_CHAR_FIELD if I do: SELECT * FROM MY_TABLE WHERE MY_CHAR_FIELD STARTING WITH 'SOMETHING' FB perform index reads, bu if I do SELECT * FROM MY_TABLE WHERE Upper(MY_CHAR_FIELD) STARTING WITH 'SOMETHING' FB don't use any index, which seems logical. Can I create an index based on Upper(MY_CHAR_FIELD) ? How is the correct way to do it ? Thanks! -sergio |