Subject | Re: [firebird-support] Why PLAN token is not allowed after ORDER BY? |
---|---|
Author | Mark Rotteveel |
Post date | 2012-06-03T08:04:17Z |
On 3-6-2012 0:27, Dmitry Kuzmenko wrote:
Mark
--
Mark Rotteveel
> Hello, Alec!That would not generate a token unknown PLAN error message.
>
> AS> 2. Changed the query to "A INNER JOIN B ORDER BY X PLAN P", where P is the
> AS> plan generated by FB in #1. Received "Unexpected token PLAN" error.
> AS> 3. Change the query to "A INNER JOIN B PLAN P ORDER BY X" - success!
>
> AS> Why does #3 succeed but #2 fail?
>
> because inner join is not equal to left join.
>
Mark
--
Mark Rotteveel