Skip site navigation (1) Skip section navigation (2)

Re: [SQL] SELECT TOP _x_ ??

From: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
To: pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] SELECT TOP _x_ ??
Date: 1999-04-22 14:42:39
Message-ID: 371F355F.7551BAAB@bigfoot.com (view raw or flat)
Thread:
Lists: pgsql-sql
Justin Long wrote:
> 
> In Microsoft SQL Server you could issue a command
> 
>         SELECT TOP 5 * FROM database...

SELECT * FROM TABLE LIMIT 5;

You may have to be running 6.5, not sure.

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris(dot)bitmead(at)bigfoot(dot)com

In response to

Responses

pgsql-sql by date

Next:From: Chris BitmeadDate: 1999-04-22 14:45:13
Subject: Re: [SQL] Finding the "most recent" rows
Previous:From: Justin LongDate: 1999-04-22 14:33:02
Subject: SELECT TOP _x_ ??

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group