Subject RE: [firebird-support] No index used for join on 'starting with'
Author Rick Debay
I will, after we migrate to FB 2.5.x. Right now we're still on 1.5.6.
And to forestall "why haven't you moved yet" posts, I'd love to but
we're stuck until mgmt lets us.

-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ann Harrison
Sent: Tuesday, April 10, 2012 1:59 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] No index used for join on 'starting
with'

Rick,

It's not going to help in the short run, but I would submit this as a
bug.


This query uses natural for both tables, when I expected it to use an
> index for the join.
>
> select *
> from table1 t1
> join table2 t2 on t2.indexed_char14 starting with t1.indexed_char10
> where t1.unindex_varchar containing 'foo'
>
>
Good luck,

Ann


[Non-text portions of this message have been removed]



------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Resources item on the
main (top) menu. Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links




Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.