How else to make a serial SQL definition - Mailing list pgsql-novice

From Brian Johnson
Subject How else to make a serial SQL definition
Date
Msg-id 20020819.LbK.41601400@192.168.0.1
Whole thread Raw
List pgsql-novice
I couldn't figure out what mailing list would be the right place for this question

I need to know if there is a SQL table creation method that would work for both
PostgreSQL and MySQL to create a incremental field like 'id serial'

My program needs to access the sequence value after a record is added to create a
link to it from another table

I have it working in Perl for PostgreSQL but would like for it also to work under MySQL


pgsql-novice by date:

Previous
From: "Darrin Domoney"
Date:
Subject: Re: [ADMIN] [SQL] Urgent - SQL Unique constraint error (long)
Next
From: "Donnahoo, George"
Date:
Subject: Stored Procedures