My SQL Server table has, between other, these columns.
AutoID which has IdentitySpecification set to True and GuidKey which has the default value of (newid())
AutoID GuidKey
1 f4rc-erdd
2 gedd-rrds
Is there any way of getting the GuidKey from the row inserted?
I need something like the Scope_Identity(), with the difference that i don't want to get the content of AutoID, but the GuidKey column.