From: | "Aaron Bono" <postgresql(at)aranya(dot)com> |
---|---|
To: | "Penchalaiah P(dot)" <penchalaiahp(at)infics(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: How to cal function in one another |
Date: | 2006-08-03 00:11:52 |
Message-ID: | bf05e51c0608021711m20c325c1p6ab1ec8e804d385@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On 8/2/06, Penchalaiah P. <penchalaiahp(at)infics(dot)com> wrote:
>
>
>
> hai,
>
> In mainfun,the query returns more than two rows,if execute query outside.
>
> I have to remove limit keyword in mainfun defination...even it returns 1st
> row values only..But i need the multful rows?
>
> so how can i do that...please help me...
>
>
>
> select subfun1(22);
>
> subfun1
>
> -------------
>
> (swarna,23)
>
>
>
> select mainfun(22);
>
> (2600,10)
>
>
>
> query result outside..
>
> select sal,dept into return_rec from emp where mgr=23 -- here i
> removed the limit keyword in mainfun definition
>
>
>
> 2600,10
>
> 3500,20
>
> 6520,10
>
>
>
> I am waiting for ur positive reply...
>
Please provide the code for your functions so we can see what you are doing.
==================================================================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.com
==================================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Aaron Bono | 2006-08-03 00:13:51 | Re: i need informarion regarding functions and arrays... |
Previous Message | Aaron Bono | 2006-08-03 00:09:09 | Re: Problem while using lo_import and lo_export |