Re: Novice trouble with plpgsql

From: Patrik Kudo <kudo(at)partitur(dot)se>
To: Alexander Stetsenko <as(at)anapa(dot)org(dot)ru>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Novice trouble with plpgsql
Date: 2000-03-31 12:59:51
Message-ID: 38E4A147.9CE24925@partitur.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

try:

select max(name_of_column) from name_of_table;

Regards,
Patrik Kudo

Alexander Stetsenko wrote:
>
> Hello All
> Help me please !
> I need to select max value in plpgsql, but
> such code seems is not corect:
> select into var max(col) from table ;
> How can I do this ?
>
> Thanks you all.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2000-03-31 13:55:20 Re: outer join syntax
Previous Message Alexander Stetsenko 2000-03-31 12:23:34 Novice trouble with plpgsql