INSERT INTO Reviews ProductId Rating Text UserId VALUES p0 p1 p2 p3 SE

1
2
3
4
5
INSERT INTO [Reviews] ([ProductId], [Rating], [Text], [UserId])
VALUES (@p0, @p1, @p2, @p3);
SELECT [Id]
FROM [Reviews]
WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity();