MSSQL Function like mysql_insert_id?

From: Date: Thu, 20 Jul 2000 00:15:24 +0000
Subject: MSSQL Function like mysql_insert_id?
Groups: php.general 
Request: Send a blank email to php-general+get-7362@lists.php.net to get a copy of this message
Is there a way to pull out the last auto_increment id of a insert statement in MSSQL like the one that is avaliable for MySQL (namely mysql_insert_id)? I'm inserting a record and would like to know the value of the unique key so I can pass that to another page right away. Thanks, ________________________________________________ Flint Doungchak Web Applications Developer Net Solutions LLC 840 Lawrence Street Eugene, OR 97401 VOICE (541) 345-7087 FAX (541) 485-5519 flint@netsolutionsllc.com www.netsolutionsllc.com

« previous php.general (#7362) next »