From: Peter Eisentraut <peter_e@gmx.net>
To: Chad Thompson <chad@weblinkservices.com>
Cc: pgsql-novice <pgsql-novice@postgresql.org>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: [SQL] Seeding
Date: Tue, 16 Jul 2002 00:54:36 +0200 (CEST)
Message-ID: <Pine.LNX.4.44.0207160049330.2259-100000@localhost.localdomain> (raw)
In-Reply-To: <045701c22c2f$dd8d3860$32021aac@chad>
Chad Thompson writes:
> create table "temp"(
> select distinct(full_phone)
> >from lists
> where client_id =8)
>
> This gives me 100,000 unique records
>
> What i would like to do is, every 2500, insert a specific number like '5552552555'
The first thing you're going to have to define is what you mean with
"every 2500", because records in tables are not ordered.
--
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: [SQL] Seeding
In-Reply-To: <Pine.LNX.4.44.0207160049330.2259-100000@localhost.localdomain>
References: <045701c22c2f$dd8d3860$32021aac@chad> <Pine.LNX.4.44.0207160049330.2259-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