Re: Retrieving ID after INSERT with MSSQL
| From: | Andrian Pervazov | Date: | Fri, 15 Dec 2000 16:47:56 +0000 |
| Subject: | Re: Retrieving ID after INSERT with MSSQL | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4504@lists.php.net to get a copy of this message | ||
check out @@IDENTITY
Andrian
"Fabio R." wrote:
>
> Hello,
> is there a function like "mysql_insert_id" for MS SQL? I need to retrieve
> the ID of the last INSERT operation, but I can't find a function like I
> found in mysql.
> Is there an alternative method to retrieve it?
>
> Thanx all.
> Fabio
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net