Re: determine whether a field is identity column
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Tue, 24 Oct 2006 05:58:23 -0400
cutecode wrote:
how to determine whether a field is identity column using ADO?Using the SQLOLEDB provider, you would check the Field object's Attributes
Thanks
property
http://msdn.microsoft.com/library/en-us/ado270/htm/mdproattributes.asp
to see if it contains the adFldRowID value:
http://msdn.microsoft.com/library/en-us/ado270/htm/mdcstfieldattributeenum.asp
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Prev by Date: Re: determine whether a field is identity column
- Next by Date: Re: Error when Reusing ADO Connection & Command
- Previous by thread: Re: determine whether a field is identity column
- Next by thread: Re: nope, it didn't help
- Index(es):
Relevant Pages
|
|