Re: Seeding

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Chad Thompson <chad(at)weblinkservices(dot)com>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Seeding
Date: 2002-07-17 22:33:07
Message-ID: Pine.LNX.4.44.0207172141500.9047-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

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(at)gmx(dot)net

In response to

  • Re: Seeding at 2002-07-16 17:31:12 from Chad Thompson

Browse pgsql-novice by date

  From Date Subject
Next Message Jim Morcombe 2002-07-18 02:42:06 Re: Problems linking to libpq
Previous Message Søren Neigaard 2002-07-17 20:43:42 How do I only allow one group access to my database

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2002-07-18 00:19:22 Re: Indexing UNIONs
Previous Message Ligia Pimentel 2002-07-17 22:27:33 Re: How to find out if an index is unique?