On Wed, May 14, 2008 at 10:40 AM, Harald Fuchs <[EMAIL PROTECTED]> wrote: > I think a sequence is much simpler: > > create temp sequence tmp; > select nextval('tmp') as rownum, > contactdate > from > myTable > where > contactdate > '2007-06-30 23:59:59' > order by > contactdate;
I used to do it this way myself, but the solution in my previous post is really worth the trouble. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql