From: | "Linuxero" <linuxero2(at)yahoo(dot)com> |
---|---|
To: | <pgsql-docs(at)postgresql(dot)org> |
Subject: | question about functions |
Date: | 2001-06-28 01:21:46 |
Message-ID: | 00d301c0ff70$b44b7d00$3f40410a@agarin |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Hi:
I'm interested in postgres because I want to use transactions
and store procedures (or functions).
I have created this table:
Table1
c1 int4
c2 varchar(5)
And this function
Name: Test
Return: setof int4
Language: sql
"select * from Table1";
But, this is not working because this funcion only return
a set of int4 results... I should replace this to
"select c1 from Table1".
My question is:
How can i return a select with two o more colums?
Like MS Sql server store procedures does.
Is it possible?
Thanks in advance.
Regards
---
EL Linuxero
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Klein | 2001-06-28 06:04:33 | Re: hello |
Previous Message | Linuxero | 2001-06-28 00:05:22 | RE: Hello |