Re: Get the id generated from the previous INSERT operation
| From: | Felix Kronlage | Date: | Sun, 06 May 2001 22:51:35 +0000 |
| Subject: | Re: Get the id generated from the previous INSERT operation | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9139@lists.php.net to get a copy of this message | ||
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 |