Received: from utahisp.com (www.cyber-wire.com [209.119.76.3]) by postgresql.org (Postfix) with ESMTP id D65F4475A4A for ; Tue, 16 Jul 2002 15:38:46 -0400 (EDT) Received: from chad [63.230.8.76] by utahisp.com (SMTPD32-5.05) id A533586A03DE; Tue, 16 Jul 2002 13:34:11 -0600 Message-ID: <050d01c22d00$6f2a5390$32021aac@chad> From: "Chad Thompson" To: "Ron Johnson" , "pgsql-novice" References: <04b301c22cee$95401a40$32021aac@chad> <1026844703.24332.82.camel@rebel> Subject: Re: Seeding Date: Tue, 16 Jul 2002 13:38:59 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200207/124 X-Sequence-Number: 4293 I feed this list into a 3rd party dialer. My objective is to try to have my number or the clients number called during the running of the project. I need the list to be generated from the database so the results of the project will be submitted to the database. (if i generate a text file to feed to the dialer the results only show up in a text file.) Thanks Chad ----- Original Message ----- From: "Ron Johnson" To: "PgSQL Novice ML" Sent: Tuesday, July 16, 2002 12:38 PM Subject: Re: [NOVICE] Seeding > On Tue, 2002-07-16 at 12:31, Chad Thompson wrote: > > So if there is an order by in that statement and i want to insert every 2500 > > records is that specific? > > But you'll still have trouble, since the next time you say > ORDER BY FULL_PHONE, all of the records with FULL_PHONE='5552552555' > will all be grouped together. > > What is the reason for wanting these '5552552555' records? > Maybe there is another way to skin this cat... > > > e.g. > > create table "temp"( > > select distinct(full_phone) > > from lists > > where client_id =8 > > order by full_phone) > > > > Thanks > > Chad > > > > ----- Original Message ----- > > From: "Peter Eisentraut" > > To: "Chad Thompson" > > Cc: "pgsql-novice" ; "pgsql-sql" > > > > Sent: Monday, July 15, 2002 4:54 PM > > Subject: Re: [SQL] Seeding > > > > > > > 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. > > -- > +-----------------------------------------------------------------+ > | Ron Johnson, Jr. Home: ron.l.johnson@cox.net | > | Jefferson, LA USA | > | | > | "The greatest dangers to liberty lurk in insidious encroachment | > | by men of zeal, well-meaning, but without understanding." | > | Justice Louis Brandeis, dissenting, Olmstead v US (1928) | > +-----------------------------------------------------------------+ > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org >