Greg Patnude wrote:
I know I've seen the answer to this here before but cannot seem to find it.... Can anyone give me the quick & dirty answer to passing a table name to a function like this:CREATE OR REPLACE FUNCTION tbl_toarray(name) RETURNS text
Build the query as text and use EXECUTE to run it. -- Richard Huxton Archonet Ltd ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster