From: Peter Eisentraut <peter_e@gmx.net>
To: Chad Thompson <chad@weblinkservices.com>
Cc: pgsql-novice <pgsql-novice@postgresql.org>
Subject: Re: Seeding
Date: Thu, 18 Jul 2002 00:33:07 +0200 (CEST)
Message-ID: <Pine.LNX.4.44.0207172141500.9047-100000@localhost.localdomain> (raw)
In-Reply-To: <04b301c22cee$95401a40$32021aac@chad>
Chad Thompson writes:
> So if there is an order by in that statement and i want to insert every 2500
> records is that specific?
>
> e.g.
> create table "temp"(
> select distinct(full_phone)
> >from lists
> where client_id =8
> order by full_phone)
That will make the table temporarily ordered, but that will only last
until the next update.
Maybe you want to number your records, and then you can insert the records
you want at the numbers you want (2500, 5000, ...).
--
Peter Eisentraut peter_e@gmx.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, chad@weblinkservices.com, pgsql-novice@postgresql.org
Subject: Re: Seeding
In-Reply-To: <Pine.LNX.4.44.0207172141500.9047-100000@localhost.localdomain>
References: <04b301c22cee$95401a40$32021aac@chad> <Pine.LNX.4.44.0207172141500.9047-100000@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox