Re: delete using limit - Mailing list pgsql-general

From CoL
Subject Re: delete using limit
Date
Msg-id c3d1m9$1tgh$1@news.hub.org
Whole thread Raw
List pgsql-general
hi,

loop wrote, On 3/18/2004 19:20:
> Hi,
> how can I use delete with a limit variable?
> DELETE FROM table WHERE field='x' LIMIT x

delete from table where field in (select field from table limit x);

C.

pgsql-general by date:

Previous
From: Al Cohen
Date:
Subject: High Reliability without High Availability?
Next
From: Christopher Browne
Date:
Subject: Re: Size limits for PostgreSQL?