How do I get the index in an insert?

J

Jon Davis

I have a numerical indexer in a table. How do I get the new index field
value when inserting a new record when using OleDbCommand?

Jon
 
J

Jon Davis

(I found the answer in another group. See @@IDENTITY and SCOPE_IDENTITY() in
Books Online for SQL Server.)

Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top