On Thu, Nov 08, 2001 at 09:47:18AM -0600, Thomas T. Veldhouse wrote:
> MySQL is easier with PHP, for one reason, it is much easier to get the value
> of an autoincrement key for a row  you just inserted.  PostgreSQL is rather
> lacking in this respect.

No way.

From http://www.us.postgresql.org/users-lounge/docs/7.1/reference/sql-createtable.html:

To create and autoincrement field use 
   DEFAULT NEXTVAL('sequence_name')
when you create a table.

florin

-- 

"If it's not broken, let's fix it till it is."

41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20011108/2a1e429a/attachment.pgp