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

22 lines
360 B
SQL

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