Adding a New record to SQLCE

J

Jeff

I have a SQLCE table with a GUID for a primary key. I understand (I
think) that, when adding a new record, I don't specify the primary key
value. But how do I then retrieve the primary key value for the
just-added record? (I'm using vb.net)

Thanks for your help.

- Jeff
 
C

Chris Tacke, eMVP

No, you will have to specify the PK value. Identity would mean you don't
have to (it's basically an autonumber).
 

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