Re: function and passing the table name to be used with SQL stmnt - Mailing list pgsql-general

From kamiseq
Subject Re: function and passing the table name to be used with SQL stmnt
Date
Msg-id 1193686652.895955.39770@v3g2000hsg.googlegroups.com
Whole thread Raw
In response to function and passing the table name to be used with SQL stmnt  (kamiseq <kamiseq@gmail.com>)
List pgsql-general
>     SELECT INTO _id id FROM _tabela order by id desc limit 1;

ok I ve found that

EXECUTE 'SELECT id FROM ' || quote_ident(_tabela) ||' order by id desc
limit 1' INTO _id;


pgsql-general by date:

Previous
From: kamiseq
Date:
Subject: Re: function and passing the table name to be used with SQL stmnt
Next
From: Jorge Godoy
Date:
Subject: Re: Postgres SQL Client for Suse Linux