Dean, here is another one you can try: PERSON - ASSIGNED PERMISSIONS - Person - Assigned Permissions START WITH Person SELECT Id, Code, Surname, FirstName, Initial, Roles.Role.Name WHERE IsTemplate = 'N' AND Status = 'A' AND Code LIKE @Code ORDER BY Roles.Role.Name
↧