Ashley Moran <work@xxxxxxxxxxxxxxxxx> schrieb: > The closest I've come from reading the docs is functions that return > SETOF. However I can't see any way to query the result set like a table. Right. > Can anyone offer any hints/links? select * from <insert_your_srf-function_here>. For instance, if your SRF-function is called foo(), do: select * from foo(); Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknow) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°