On Tuesday, March 29, 2011 2:20:33 pm wepwep wrote:
> Im learning pg sql and psql in general. Im using console psql in windows.
> For now, i installed it correctly and execute it, ok.
>
> My first problem is that i dont know how to execute a pgsql script when im
> in the psql program.
> CREATE FUN
Im learning pg sql and psql in general. Im using console psql in windows. For
now, i installed it correctly and execute it, ok.
My first problem is that i dont know how to execute a pgsql script when im
in the psql program.
CREATE FUNCTION sales_tax(subtotal real) RETURNS real AS $$
BEGIN
R