Re: [SQL] Question re: serial

2004-04-24 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Sat, 24 Apr 2004, Michael Satterwhite wrote: > I have a table with a primary key defined as serial unique. When I insert a > row into the table, I need to get the value of that row back so that I can > use it to link rows in another table to

Re: [SQL] Question re: serial

2004-04-24 Thread Bruno Wolff III
On Sat, Apr 24, 2004 at 12:24:03 -0500, Michael Satterwhite <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I have a table with a primary key defined as serial unique. When I insert a > row into the table, I need to get the value of that row back so that I can

[SQL] Question re: serial

2004-04-24 Thread Michael Satterwhite
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a table with a primary key defined as serial unique. When I insert a row into the table, I need to get the value of that row back so that I can use it to link rows in another table to it. How do I do that in Postgresql? I know that I can defi