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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

identify identity column

Status
Not open for further replies.

dcmagain

IS-IT--Management
Oct 29, 2003
7
US
we are using ado and getting a recordset and looping through all the fierlds
is there a way i can see if one of these fields is the identity column?

thanks
 
Can you make use of the syscolumns system table and use this to determine which field within a given table structure is the 'identity' field ?
Maybe this would be the way to go ?
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top