Files
the-biergarten-app/DataLayer/scripts/crud/USP_GetUserAccountByUsername.sql
2026-01-13 00:13:39 -05:00

22 lines
371 B
SQL

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