Hi all, I've read this question about getting the identity of an inserted row. My question is sort of related.
Is there a way to get the guid for an inserted row? The table I am working with has a guid as the primary key (defaulted to newid), and I would like to retrieve that guid after inserting the row.
Is there anything like @@IDENTITY, IDENT_
CURRENT or SCOPE_
IDENTITY for Guids?
Thanks for any help you can offer.