From: guard <guard@ficnet.net>
To: pgsql-sql@postgresql.org
Subject: plpgsql ?
Date: Wed, 20 Dec 2000 11:40:29 +0800
Message-ID: <91p999$umc$1@news.tht.net> (raw)
Hi all,
i have a question 'plpgsql'
my code
CREATE FUNCTION autono (text,text) RETURNS text AS '
DECLARE
a1 ALIAS FOR $1;
a2 ALIAS FOR $1;
ret_val text;
BEGIN
select tna into ret_val from a1 where pamt_no=a2;
RETURN ret_val;
END;' LANGUAGE 'plpgsql'
error run " select tna into ret_val from a1 where pamt_no=a2; "
help me ,thanks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: guard@ficnet.net
Subject: Re: plpgsql ?
In-Reply-To: <91p999$umc$1@news.tht.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox