note 9861 added to Microsoft SQL Server functions
| From: | gboyah at hotmail dot chek dot com | Date: | Tue, 28 Nov 2000 16:00:44 +0000 |
| Subject: | note 9861 added to Microsoft SQL Server functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8191@lists.php.net to get a copy of this message | ||
Re. Getting the Insert Id
If the key youre after is an identity field, how about running the following query ...
select @@identity
http://www.php.net/manual/ref.mssql.php