SELECT `r` . `DetailId` , `r` . `CreatedDate` , `r` . `FAPId` , `r` . `IsActive` , `r` . `IsDeleted` , `r` . `MaxAlloweduser` , `r` . `RoleDescription` , `r` . `RoleMaxCountLog` , `r` . `RoleName` , `r` . `UpdatedDate` FROM `Role_Details` AS `r` WHERE `r` . `DetailId` = ? LIMIT ? 