From: | JT Kirkpatrick <jt-kirkpatrick(at)mpsllc(dot)com> |
---|---|
To: | "'pgsql-sql(at)hub(dot)org'" <pgsql-sql(at)hub(dot)org> |
Subject: | incrementing by the second |
Date: | 1999-04-27 20:13:59 |
Message-ID: | 01BE90C8.F5C15660.jt-kirkpatrick@mpsllc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
I have 96,000 records in a postgres table that has an unpopulated field for
datetime. I need the value in that field to be unique, but the ACTUAL
value isn't really that important. I'd like to begin with the first
record, enter a date and time, and then increment that value by one second
for the next field, one second for the next, and so on. Can I do this
directly from within psql?? I could do this in dbase w/ no problem, but
I'm really not that familiar with sql syntax. . .
jt
From | Date | Subject | |
---|---|---|---|
Next Message | Jackson, DeJuan | 1999-04-27 20:37:32 | RE: [SQL] filling an empty table w/ defaults defined |
Previous Message | JT Kirkpatrick | 1999-04-27 19:57:14 | filling an empty table w/ defaults defined |