pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roy Sigurd Karlsbakk <roy@christianianett.no>
To: pgsql-general@postgreSQL.org <pgsql-general@postgreSQL.org>
Subject: The use of sequences
Date: Tue, 18 Aug 1998 16:40:16 +0200
Message-ID: <35D9924F.3506064E@christianianett.no> (raw)

Could somebody tell me how I can make efficient use of sequences? I am
familiar with Oracle's sequences and they usually work as the following
example:
    INSERT INTO PERSON table(some_sequence.nextval,data,data,data);

How do they work in postgreSQL?

Roy

--
Roy Sigurd Karlsbakk - MCSE, CNE, CLS, ASE - <roy@christianianett.no>
ChristianiaNett A/S, Akersgt. 11, 0158 OSLO, +47 2247 3100
http://www.christianianett.no/ (norwegian)

Attachments:

roy.vcf (text/x-vcard, 202B) download begin:vcard n:Karlsbakk;Roy Sigurd x-mozilla-html:FALSE org:ChristianiaNett A/S version:2.1 email;internet:roy@christianianett.no title:Seniorkonsulent x-mozilla-cpt:;0 fn:Roy Sigurd Karlsbakk end:vcard

view thread (3+ messages)  latest in thread

Message-ID: <35D9924F.3506064E@christianianett.no>
Permalink:  ../35D9924F.3506064E@christianianett.no/
Also on:    postgresql.org/message-id/35D9924F.3506064E@christianianett.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: roy@christianianett.no, pgsql-general@postgreSQL.org
  Subject: Re: The use of sequences
  In-Reply-To: <35D9924F.3506064E@christianianett.no>
  References: <35D9924F.3506064E@christianianett.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox