Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

How to determine the Identity column name for a table having such a column? - forum topic by ScottLLama

$
0
0

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?

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>