hello there,
The sql query taking 47 seconds to excecute, This query may need to be run in my JSP program up to 20 consecutive times looks too long. but it should be possible to use joins instead but not sure how it would work as it is a NOT IN nest rather than an IN nest.
select activity_code,0 from tblactivity where activity_code not in
(select activity_code
from tblAttendance a, tblEvent e
where a.Session_Identity = e.Event_Identity
and e.Event_Start >= '2006/01/01'
and e.Event_Start <= '2006/02/02'
and a.Person_ID = 0099)
Many Thanks,
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --