RE: [INTERFACES] jdbc question

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Phillip Rhodes'" <rhodespc(at)bellatlantic(dot)net>, "'pgsql-interfaces(at)postgreSQL(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: [INTERFACES] jdbc question
Date: 2000-02-07 09:25:53
Message-ID: 1B3D5E532D18D311861A00600865478C70C175@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

When you do a SERIAL, it actually creates a Sequence which you can then
get the current value using: select currval('sequence name');

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Phillip Rhodes [mailto:rhodespc(at)bellatlantic(dot)net]
Sent: Wednesday, January 05, 2000 3:40 PM
To: 'pgsql-interfaces(at)postgreSQL(dot)org'
Subject: [INTERFACES] jdbc question

All,
I have a table with a column type of serial.
If I do an insert into this table, is there a way to find out this
column's value?

Thanks!
PHillip

************

Browse pgsql-interfaces by date

  From Date Subject
Next Message Richard 2000-02-07 16:28:23 Re: [INTERFACES] Bug in parser?
Previous Message Gavrie Philipson 2000-02-07 07:58:27 [Fwd: Re: pgsql-interfaces-digest V1 #628]