How else to make a serial SQL definition

Поиск
Список
Период
Сортировка
От Brian Johnson
Тема How else to make a serial SQL definition
Дата
Msg-id 20020819.LbK.41601400@192.168.0.1
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Darrin Domoney"
Дата:
Сообщение: Re: [ADMIN] [SQL] Urgent - SQL Unique constraint error (long)
Следующее
От: "Donnahoo, George"
Дата:
Сообщение: Stored Procedures