Rich,
You might also consider moving your loc.state='OR' up into the JOIN.
In SQL server you should avoid SELECT * in a query when none of the fields are actually used or you don't need all of them, you force a read of the data page even if can determine the result only from reading index pages. I/O is slow. Use SELECT 'X' instead.
>For example
>SELECT DISTINCT pol.agentcode,pol.ctrl_num,pol.incep_date FROM frpolicy pol;
> JOIN frlocat loc ON pol.agentcode=loc.agentcode and pol.ctrl_num=loc.ctrl_num;
> WHERE pol.incep_date >={8/31/2005} AND loc.state='OR'
>
>
>SELECT pol.agentcode,pol.ctrl_num,pol.incep_date FROM frpolicy pol;
> WHERE EXISTS (SELECT * FROM frlocat loc;
> WHERE loc.agentcode=pol.agentcode
> AND loc.ctrl_num=pol.ctrl_num;
> AND loc.state="OR")
> AND pol.incep_date >= {8/1/2005}
>
>
>produce identical results in approximately the same time.
>
>Is it a matter of style or is there a reason to use one rather than the other?
>
>Thanks......