I have an application that determines the schema for a table through a Windows ODBC connector. Not all attributes are accessible through GetSchema() calls so I have to augment with the querying of system tables.
My current issue is determining whether a table has an indentity (auto-increment) column and the column name. I found this link useful in determining whether a table has such a column: http://forums.teradata.com/forum/database/reset- identity-column-counter. But, it does not hint at how the column name would be determined.
Would somebody know of the way to get the column name for an identity column in a table that has one?
Tags:
Forums: