pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
[Fwd: Re: sorry, now with subject... trigger & nextval(seq)] 1+ messages / 1 participants [nested] [flat]
* [Fwd: Re: sorry, now with subject... trigger & nextval(seq)] @ 2010-05-21 07:19 tlange@gwdg.de 0 siblings, 0 replies; 1+ messages in thread From: tlange@gwdg.de @ 2010-05-21 07:19 UTC (permalink / raw) To: pgsql-sql > On Thursday 20 May 2010 5:53:51 pm tlange@gwdg.de wrote: >> I'm new to triggers in PostgreSQL. I have to create a trigger on insert >> to >> increment a sequence to overcome MS-Access' limitation in acknowledging >> serial "datatype". >> > > You know serial is just a shortcut for: > > pid int NOT NULL DEFAULT nextval('seq') yes. sorry datatype quoted was bit ambiguous. > I think you will find Access will place nice if you use the long form to > define > your autoincrement. > Ok, I'll give it a try! Thank you, Torsten ^ permalink raw reply [nested|flat] 1+ messages in thread
only message in thread Thread overview: 1+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2010-05-21 07:19 [Fwd: Re: sorry, now with subject... trigger & nextval(seq)] tlange@gwdg.de
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