mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Restructure project
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
CREATE OR ALTER PROCEDURE dbo.USP_CreateUserVerification
|
||||
@UserAccountID uniqueidentifier,
|
||||
@VerificationDateTime datetime = NULL
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
SET XACT_ABORT ON;
|
||||
|
||||
IF @VerificationDateTime IS NULL
|
||||
SET @VerificationDateTime = GETDATE();
|
||||
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
INSERT INTO dbo.UserVerification
|
||||
(UserAccountId, VerificationDateTime)
|
||||
VALUES
|
||||
(@UserAccountID, @VerificationDateTime);
|
||||
|
||||
COMMIT TRANSACTION;
|
||||
END
|
||||
Reference in New Issue
Block a user