KÈmeri Lajos wrote: > And I call it: select * from LOGIN ('username', 'password'); > Result: 1, 'Lewis' > In PostgreSQL you can define only functions, they go a long way, but are not really stored procedures. A stored procedure can return a tuple just like you show. A function can only return one value. Nils ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]