function that returns a set of records and integer(both of them)‏ - Mailing list pgsql-sql

From daniel blanco
Subject function that returns a set of records and integer(both of them)‏
Date
Msg-id BLU143-W28F43D7E42171521E4A00EB7900@phx.gbl
Whole thread Raw
Responses Re: function that returns a set of records and integer(both of them)‏  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-sql
Hi Everyone
 
I would like to know if i can create a function that returns a set of record with the sql statement: select and a integer, i mean both of them, because i remenber that in sql server (transact sql) i can do that in a stored procedure doing a select statement and a return of a integer in the same procedure, i'm migrating to postgresql and i have stored procedures like this in my sql server database, can i do that with postgresql?
 
Thanks.........

Get news, entertainment and everything you care about at Live.com. Check it out!

pgsql-sql by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Rollback in Postgres
Next
From: Simon Riggs
Date:
Subject: Re: Rollback in Postgres