CREATE OR ALTER PROCEDURE sp_User_GetByUsername
    @Username NVARCHAR(50)
AS
BEGIN
    SET NOCOUNT ON;

    SELECT Id, Username, PasswordHash, Email, NombreCompleto, FechaCreacion
    FROM Users
    WHERE Username = @Username;
END
