I have a table with a serial field, how can I obtain what serial was generated for the insert I'm doing? I could just do another query for max(id) .. where id is my serial field.. but I'm worried another insert could have already came in.
Next:From: scott.marloweDate: 2003-05-27 20:52:31
Subject: Re: How to obtain serial generate when doing an insert?
Previous:From: dan radomDate: 2003-05-27 20:35:27
Subject: Re: Postgresql on SUN Server