Jack,
> select into rec1 * from EMP where empNo =''xxxx'';
> i1 := xxx(rec1,5);
Bad syntax. The correct syntax is:
SELECT * INTO rec1 FROM EMP WHERE empNo=''xxxx'';
> 2. Is that possible to return a record from a function? And how do I
> get the
> returned record in PL/pgSql
No, it is not possible. I know the list archives are kinda hard to
search, but we've discussed this question ad naseum; in fact, I just
provided a workaround earlier this week.
-Josh
______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete
informationtechnology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small
businesses fax 621-2533 and non-profit organizations. San Francisco