Re: ERROR: ORDER BY is not allowed in INSERT/SELECT

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Loïc TREGOUËT <loic(at)cri74(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ERROR: ORDER BY is not allowed in INSERT/SELECT
Date: 2000-10-12 14:59:41
Message-ID: Pine.LNX.4.21.0010121658400.776-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Loïc TREGOUËT writes:

> insert into tempo select id, name from topics order by name;
> ERROR: ORDER BY is not allowed in INSERT/SELECT

What's the point of this command? The values in "tempo" are going to end
up in random order anyway.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2000-10-12 15:45:08 Re: control on table creation
Previous Message R D 2000-10-12 14:41:17 control on table creation