> This is and interesting point - how do other access methods & SQL DBMS > handle > surrogate key generation - ie how do they relocate the record > they have just > inserted Very easily - they all fail. You have to write special code to get the generated primary key value back from the server. These days I generate a stored procedure for every table to do inserts, and these return from the server the primary key value of the newly inserted record which updates the TDataSets with the new primary key values. Myles. --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
- Re: [DUG]: embedded database. Matthew Comb
- Re: [DUG]: embedded database. Steve Peacocke
- Re: [DUG]: embedded database. Mark Derricutt
- Re: [DUG]: embedded database. Steve Peacocke
- Re: [DUG]: embedded database. Ian Fear
- RE: [DUG]: embedded database. Patrick Dunford
- RE: [DUG]: embedded database. Gary T. Benner
- Re: [DUG]: embedded database. Matthew Comb
- Re: [DUG]: embedded database. Xander van der Merwe
- Re: [DUG]: embedded database. Neven MacEwan
- Re: [DUG]: embedded database. Myles Penlington
- Re: [DUG]: embedded database. Neven MacEwan
- RE: [DUG]: embedded database. Myles Penlington
- RE: [DUG]: embedded database. Paul Ritchie
- Re: [DUG]: embedded database. David Brennan
- Re: [DUG]: embedded database. Neven MacEwan
- Re: [DUG]: embedded database. David Brennan
- Re: [DUG]: embedded database. Neven MacEwan
- RE: [DUG]: embedded database. Paul Ritchie
- Re: [DUG]: embedded database. David Brennan
- RE: [DUG]: embedded database. Paul Ritchie