On Fri, 2005-08-19 at 16:30, Adam Witney wrote: > > I can't work out from that how to return more than one value. > > Hi Nigel, > > Add SETOF to your function like so: Hmm. Ta. Sorry for all the newbie questions, but SQL isn't something I know anything about, but any work's work at the moment! -Nigel ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster