Can I see your function that tried to do it? Pg 7.1 beta has a new EXECUTE statement for PL/pgSQL that allows execution of a query string that can be created dynamically (see the development docs at www.postgresql.org). It might be relevant to your problem. On Friday 05 January 2001 03:59, gianpaolo wrote: > Short question: > is it possible to pass tables names as parameter in FUNCTION? > I tried with SQL function as well as with PLPGSQL but I couldn't do it. > Did I do something wrong or is it impossible? > Thanks a lot > > gianpaolo racca > [EMAIL PROTECTED] -- -------- Robert B. Easter [EMAIL PROTECTED] --------- -- CompTechNews Message Board http://www.comptechnews.com/ -- -- CompTechServ Tech Services http://www.comptechserv.com/ -- ---------- http://www.comptechnews.com/~reaster/ ------------