function problem - Mailing list pgsql-sql

From geraldo
Subject function problem
Date
Msg-id AKEMKCHOALAOGDNFIGFAEEABCAAA.geraldo@umc.br
Whole thread Raw
Responses Re: function problem
List pgsql-sql
Can anybody tell me why the following code when activated
by a select only affects the first line of the table???
create or replace function increase(integer)
returns void as 'update tab set price=price*(1+$1/100.0)' 
language sql;
Thanks.



pgsql-sql by date:

Previous
From: jclaudio@capitol.fr
Date:
Subject: how to create a multi columns return function ?
Next
From: dsankaran@ivesia.com (Dharan)
Date:
Subject: Writing the SQL queries inside Functions and operators