pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe McGuckin <joe@monk.via.net>
To: pgsql-sql@postgresql.org
Subject: How to find missing values in a sequence ?
Date: Fri, 23 Nov 2001 01:44:56 -0800 (PST)
Message-ID: <200111230944.fAN9iuS32242@monk.via.net> (raw)


Assume I have a column that is of type int, whats the easiest 
way to find the missing values within a specified range ?

Thanks,

Joe



Message-ID: <200111230944.fAN9iuS32242@monk.via.net>
Permalink:  ../200111230944.fAN9iuS32242@monk.via.net/
Also on:    postgresql.org/message-id/200111230944.fAN9iuS32242@monk.via.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: joe@monk.via.net
  Subject: Re: How to find missing values in a sequence ?
  In-Reply-To: <200111230944.fAN9iuS32242@monk.via.net>

* 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