SQL Not known Flashcards
1
Q
@@IDENTITY
A
returns the last-inserted identity value.
2
Q
SCOPE_IDENTITY()
A
Returns the last identity value inserted into an identity column in the same scope
3
Q
IDENT_CURRENT( ‘table_name’ )
A
Returns the last identity value generated for a specified table or view.