Which should i use to get last inserted record id in sql server 2005?
I searched stackoverflow and i found this,
SQL: How to get the id of values I just INSERTed
I'm not entirely sure what these "knows bugs" in SCOPE_IDENTITY() should be. The only thing I'm currently aware of is here: Six reasons you should be nervous about parallelism mentioned as the very first point.