[PHP-DB] Get the id generated from the previous INSERT operation

2001-05-06 Thread Alpha

mysql_insert_id - Get the id generated from the previous INSERT operation

So how do I do that in ms-sql?

- Alpha


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Get the id generated from the previous INSERT operation

2001-05-06 Thread Felix Kronlage

On Sun, May 06, 2001 at 07:22:24PM +0200, Alpha wrote:

 mysql_insert_id - Get the id generated from the previous INSERT operation
 So how do I do that in ms-sql?

as sql it should be something like '@@IDENTITY'don't know if there
is a php-function for it, just worked with ms-sql via java.

-fkr
-- 
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0  8A48 0D31 9BD3 D9AC 74D0 
  |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE  |
  |all your base are belong to us  |  shame on me  | fkr@IRCnet | 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]