Re: Last serial number inserted

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Last serial number inserted
Date: 2000-10-17 15:47:18
Message-ID: 39EC7486.D21FC9C9@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Eduardo,

Use the curval(serial) function. For more information, look in the
online docs under the name of that function. nextval(), curval() are
wonderful things!

-Josh Berkus
--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 436-9166
for law firms, small businesses fax 436-0137
and non-profit organizations. pager 338-4078
San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message DalTech - CTE 2000-10-17 16:54:28 Re: Variable-length Types
Previous Message Eduardo 2000-10-17 10:16:58 Last serial number inserted