mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
18 lines
332 B
SQL
18 lines
332 B
SQL
CREATE OR ALTER PROCEDURE dbo.USP_AddUserCredential(
|
|
@UserAccountId uniqueidentifier,
|
|
@Hash nvarchar(max)
|
|
)
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON;
|
|
SET XACT_ABORT ON;
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
INSERT INTO dbo.UserCredential
|
|
(UserAccountId, Hash)
|
|
VALUES
|
|
(@UserAccountId, @Hash);
|
|
|
|
COMMIT TRANSACTION;
|
|
END; |