|Do you know where your variables are?|
portable mysql auto_incrementby schweini (Friar)
|on Oct 24, 2002 at 19:37 UTC||Need Help??|
schweini has asked for the
wisdom of the Perl Monks concerning the following question:
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....