Get Last ID Inserted
| From: | Adam Voigt | Date: | Thu, 21 Nov 2002 15:47:15 +0000 |
| Subject: | Get Last ID Inserted | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-23563@lists.php.net to get a copy of this message | ||
Using Microsoft SQL does anyone know how to get the id of the row that
you just inserted without clumsily trying to select the id back based on
the same criteria of your insert (which might be overlapping)?
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc