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

22 lines
385 B
SQL

CREATE OR ALTER PROCEDURE usp_GetUserAccountById
(
@UserAccountId UNIQUEIDENTIFIER
)
AS
BEGIN
SET NOCOUNT ON;
SELECT UserAccountID,
Username,
FirstName,
LastName,
Email,
CreatedAt,
UpdatedAt,
DateOfBirth,
Timer
FROM dbo.UserAccount
WHERE UserAccountID = @UserAccountId;
END;