Re: Function TOP

From: Ian Harding <iharding(at)pakrat(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Function TOP
Date: 2001-01-07 19:14:44
Message-ID: 3A58C189.841829E8@pakrat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tomasz Janyska wrote:

> Is there in Postgres such a function like TOP in MSSQL?

LIMIT. You need an order by clause for the results to be meaningful.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-01-07 19:52:07 Re: ECPG could not connect to the database.
Previous Message Ian Harding 2001-01-07 19:14:05 Re: Loading optimization