pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to cal function in one another
2+ messages / 2 participants
[nested] [flat]
* How to cal function in one another
@ 2006-08-02 12:55 Penchalaiah P. <penchalaiahp@infics.com>
0 siblings, 1 reply; 2+ messages in thread
From: Penchalaiah P. @ 2006-08-02 12:55 UTC (permalink / raw)
To: pgsql-sql
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...
thanks & Regards
Penchal reddy | Software Engineer
Infinite Computer Solutions | Exciting Times...Infinite Possibilities...
SEI-CMMI level 5 | ISO 9001:2000
IT SERVICES | BPO
Telecom | Finance | Healthcare | Manufacturing | Energy & Utilities |
Retail & Distribution | Government
Tel +91-80-5193-0000(Ext:503)| Fax +91-80-51930009 | Cell No
+91-9980012376|www.infics.com
Information transmitted by this e-mail is proprietary to Infinite
Computer Solutions and/ or its Customers and is intended for use only by
the individual or entity to which it is addressed, and may contain
information that is privileged, confidential or exempt from disclosure
under applicable law. If you are not the intended recipient or it
appears that this mail has been forwarded to you without proper
authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at info.in@infics.com and delete this mail from
your records.
Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info.in@infics.com and delete this email from your records.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: How to cal function in one another
@ 2006-08-03 00:11 Aaron Bono <postgresql@aranya.com>
parent: Penchalaiah P. <penchalaiahp@infics.com>
0 siblings, 0 replies; 2+ messages in thread
From: Aaron Bono @ 2006-08-03 00:11 UTC (permalink / raw)
To: Penchalaiah P. <penchalaiahp@infics.com>; +Cc: pgsql-sql
On 8/2/06, Penchalaiah P. <penchalaiahp@infics.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
==================================================================
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-08-03 00:11 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-02 12:55 How to cal function in one another Penchalaiah P. <penchalaiahp@infics.com>
2006-08-03 00:11 ` Aaron Bono <postgresql@aranya.com>
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