> --- Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
> wrote:
> >
> > On Fri, 14 Dec 2001, MindTerm wrote:
> >
> > > Hi all,
> > >
> > > table :
> > > application : 220 rows ;
> > > usermenu : 6055 rows ;
> >
> > Well, I'd need the other tables involved in the
> > function
> > too, but to start with, try rewriting the queries in
> > the
> > function to use EXISTS rather than IN (see the faq),
> > or
> > bring them into a normal join with the other tables
> > where
> > possible.
As a note, does rewriting the queries in the function
to use exists rather than in help any?