PL/pgSQL - Mailing list pgsql-general

From Wojciech Strza³ka
Subject PL/pgSQL
Date
Msg-id anhlia$8s8$1@news.tpi.pl
Whole thread Raw
Responses Re: PL/pgSQL  (Darren Ferguson <darren@crystalballinc.com>)
Re: PL/pgSQL  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Re: PL/pgSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
i've got a simple plsql function and this line is wrong:

   EXECUTE ''SELECT INTO lp MAX('' || column || '') AS MX FROM '' || table
|| '';'';

with error message:

"parse error at or near 'INTO' "

it seems like it don't recognize SELECT INTO - but what's wrong?

                                                    Thaks, Wojtek



pgsql-general by date:

Previous
From: Raymond Chui
Date:
Subject: Fast Deletion For Large Tables
Next
From: Thomas Pfau
Date:
Subject: Re: schemas in 7.3b1