Hi all.

I'm looking for a *portable* way to detect auto-incrementing primary
keys. Is there one?

I'm using $dbh->primary_key_info to fetch details about column(s) that
are participating in primary keys, but this doesn't mention whether
they're auto-incrementing or not, and I must also know this.

I realise I can do $dbh->column_info to fetch info on columns, but:

a) Not all servers support this ( SQLite, which I have to support,
doesn't )

b) It's not very portable - each server seems to say something slightly
different.

Any ideas?

Thanks.

Dan

Reply via email to