>I was e-mailed this from a QA person on a project I'm working on. They use SQL7. I have never setup my Selects like this, plus I don't use standard selects I use ANSI Joins. Is there any validity to the below statement.
>
>
>"I just would like to make a friendly reminder for all developers in order to
>increase performance.
>
>In the Where clause of the Select Statement we should start with Boolean
>expressions instead of joins to reduce searching time.
>
>WHERE
> i.ob_type = '1' AND
> b.ghost_card_flag = 0 AND
> h.card_id = g.card_id AND
> b.card_id = c.card_id
>
>Regards"
As I posted in the VFP forum, The optimizer will determine the proper order of the clauses, regardless of how you type them in. You can prove this by viewing the execution plan in QA.
HTH,
Bill Armbrecht
VFP MCP