SyntaxFix
Write A Post
Hire A Developer
Questions
send an output parameter like
@newId int output
at the end use
select @newId = Scope_Identity() return @newId