All the years I've played with SQL, and I never thought to ask this question.
If I am adding (inserting) a row into a table, and it has an identity column, how might I retrieve the identity for this new row? I am keen on hearing a solution to this, as I fear I may be operating on a database with some very similar or duplicate rows.