#32241 [Com]: Why not have mssql_insert_id function when use Microsoft sql server database!

From: Date: Wed, 27 Jul 2005 02:05:49 +0000
Subject: #32241 [Com]: Why not have mssql_insert_id function when use Microsoft sql server database!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82505@lists.php.net to get a copy of this message
ID: 32241 Comment by: Daniel dot Spada at det dot wa dot edu dot au Reported By: kangtk at 163 dot com Status: Open Bug Type: Feature/Change Request Operating System: Windows2000 Server PHP Version: 4.3.10 New Comment: To expand on the previous poster. I have found that there is no such function mssql_insert_id() when using MS-SQL server. I am using PHP 4.3.10-15, with SQL server 2000. A mssql_insert_id function would be REALLY handy to assist in error checking etc. Previous Comments: ------------------------------------------------------------------------ [2005-03-09 03:10:31] kangtk at 163 dot com Description: ------------ I can use this function mysql_insert_id to get the insert id when I connect with mysql database. But I cann't use the mssql_insert_id when I change the code to Microsoft Sql server databse. Can you explain something to me? Thanks. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32241&edit=1

« previous php.bugs (#82505) next »