note 52561 added to ref.uodbc
| From: | Quickdraw at osu1 dot php dot net | Date: | Thu, 05 May 2005 18:06:12 +0000 |
| Subject: | note 52561 added to ref.uodbc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88976@lists.php.net to get a copy of this message | ||
In response to Holger's comment about using @@identity:
Be carefull. If the table you're inserting into has a trigger that also inserts into another
table that has an identity column you'll get the key of that other table! use scope_identity()
instead of @@identity
----
Manual Page -- http://www.php.net/manual/en/ref.uodbc.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52561
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52561&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52561&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52561&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52561&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52561&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52561&report=yes
Search -- http://master.php.net/manage/user-notes.php