> You can get @@ identity without an SP, just do another select 
> right after the insert
> 
> Select @@identity from table

Although remember that if there is an insert done right before the
select @@identity, you will receive the wrong result.

Put the INSERT and SELECT @@identity in a transaction and you'll be ok!

Paul



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to