Search Postgresql Archives
Stored procedure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: pgsql-general@xxxxxxxxxxxxxx
- Subject: Stored procedure
- From: "Alain Roger" <raf.news@xxxxxxxxx>
- Date: Tue, 13 Mar 2007 18:29:36 +0100
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=t6dLZVBy5RynEdF0Z3SskDDi/p6saRoTWgAsLACWH/95JmQN44E1YA//8v+mkek2DX30rp1SiDXoBozi9fFf1VOD+2XfMj+xAJk9jjgp4ZjvMQ7GsPP3ng7/NJk/9RaeRJHHh1oib7aaL53T9tA9d01ExIz9qOQGrVws+BxasmM=
Hi,
I have a stored procedure which returns a SETOF RECORD.
so basically a partial rowtype from a table.
to execute the query in PHP, i must write :
select * from myschema.sp_a_002('username') as result(Column1 varchar);
to get the result.
However, is there another to get the result without using 'as result(column1 varchar)' ?
something like a simple "select * from storedprocedure(param);", for example :-)
thanks a lot,
--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.1.4
Apache 2.0.58
PHP 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]