schweini has asked for the wisdom of the Perl Monks concerning the following question:
hey, ho!
i've grown quite fond of mysql's auto_increment thingy (even though i fear that some sql-purists will point out that that's not the best way to do things).
now i've been looking at other databases (postgresql, in particular), and even though i'm not planning on moving to one of them any time soon, i'd really like to keep my options open.
i know that it's possible to "emulate" auto_increment on, e.g. postresql, but i was just wondering whether anybody can think of an elegant (maybe even drop-in?) solution that would allow the usage of auto_increment with any DBD....
cheers,
-schweini
i've grown quite fond of mysql's auto_increment thingy (even though i fear that some sql-purists will point out that that's not the best way to do things).
now i've been looking at other databases (postgresql, in particular), and even though i'm not planning on moving to one of them any time soon, i'd really like to keep my options open.
i know that it's possible to "emulate" auto_increment on, e.g. postresql, but i was just wondering whether anybody can think of an elegant (maybe even drop-in?) solution that would allow the usage of auto_increment with any DBD....
cheers,
-schweini
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: portable mysql auto_increment
by mpeppler (Vicar) on Oct 25, 2002 at 00:18 UTC | |
Re: portable mysql auto_increment
by adrianh (Chancellor) on Oct 24, 2002 at 21:41 UTC | |
by mpeppler (Vicar) on Oct 25, 2002 at 00:04 UTC | |
by adrianh (Chancellor) on Oct 25, 2002 at 14:19 UTC | |
by mpeppler (Vicar) on Oct 25, 2002 at 15:34 UTC | |
by adrianh (Chancellor) on Oct 26, 2002 at 17:51 UTC | |
| |
Re: portable mysql auto_increment
by rr (Sexton) on Oct 24, 2002 at 21:55 UTC |
Back to
Seekers of Perl Wisdom