Subject | RE: [Firebird-Java] Using LIKE in parameterized prepared statements without loosing indexes? |
---|---|
Author | Jiri Cincura |
Post date | 2014-07-22T07:13:09Z |
You can write " SELECT ID, FIRST_NAME, LAST_NAME FROM ADDRESS WHERE ADDRESS.LAST_NAME STARTING ?". That way the optimizer will know it can use index.
--
Mgr. Jiri Cincura
Independent IT Specialist
--
Mgr. Jiri Cincura
Independent IT Specialist