Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Describing AUTO_INCREMENT columns via ODBC?

Status
Not open for further replies.

GaryAshford

Programmer
Jan 2, 2002
28
0
0
GB
Hi.
Does anyone know a way to obtain information about AUTO_INCREMENT columns in tables using the ODBC API?
As far as I can see, the only way to obtain this information is when you have a result set pending- in which case you can use SQLColAttribute.
Is it possible to query this without a result set, i.e. in a similar way to SQLColumns?

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top