MSSQL equivalent for mysql_insert_id ?

From: Date: Tue, 06 Nov 2001 11:59:05 +0000
Subject: MSSQL equivalent for mysql_insert_id ?
Groups: php.db 
Request: Send a blank email to php-db+get-14041@lists.php.net to get a copy of this message
Is there a MSSQL equivalent for: function getlastinsertedId () { return mysql_insert_id(); } I use the above function to retrieve the 'id' of the last inserted record from an insert-query. If there is another way to accomplish the same thing with MS-SQL server and PHP, please let me know. Thanks in advance, -- http://hace.dyndns.org/ Everything I say is my own opinion and not necessarily that of my employer.

« previous php.db (#14041) next »