Files
the-biergarten-app/DataLayer/scripts/03-crud/02-UserCredential/USP_AddUserCredential.sql
2026-01-13 20:10:39 -05:00

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;