identifying auto-increment columns
843853Aug 13 2001 — edited Aug 21 2001Hi,
I am developing a database management package for mysql. I want to be able to provide a sql dump facility, which will produce the sql code for creating a table and populating it.
I do not seem to be able to find a function for identifying if a field is auto-incrementing?
The only thing that I could find it the DatabaseMetaData.getTypeInfo() will let you know if a field can used for an auto-increment value, not if it is actually auto-incrementing.
Please help!