RE: [INTERFACES] jdbc question - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: [INTERFACES] jdbc question
Date
Msg-id 1B3D5E532D18D311861A00600865478C70C175@exchange1.nt.maidstone.gov.uk
Whole thread Raw
List 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@bellatlantic.net]
Sent: Wednesday, January 05, 2000 3:40 PM
To: 'pgsql-interfaces@postgreSQL.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

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


pgsql-interfaces by date:

Previous
From: Gavrie Philipson
Date:
Subject: [Fwd: Re: pgsql-interfaces-digest V1 #628]
Next
From: Richard
Date:
Subject: Re: [INTERFACES] Bug in parser?