note 18545 added to function.mssql-get-last-message
| From: | php-contrib at i-ps dot nospam dot net | Date: | Sun, 27 Jan 2002 15:24:35 +0000 |
| Subject: | note 18545 added to function.mssql-get-last-message | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25868@lists.php.net to get a copy of this message | ||
With ref to last_insert_id;
you can also do "SELECT ident_current('table_name')" with msSQL, which is the
same thing.
Don't forget that this counts as a seperate SQL query, so you will have to fetch the results as
well, which isn't as neat as MySQL_insert_id().
--
http://www.php.net/manual/en/function.mssql-get-last-message.php
http://master.php.net/manage/user-notes.php?action=edit+18545
http://master.php.net/manage/user-notes.php?action=delete+18545
http://master.php.net/manage/user-notes.php?action=reject+18545