In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
ALTER TABLE `tblPerson` ADD INDEX `tblperson_idx_empid` (`EMPID`);
ALTER TABLE `vwPersonSummary` ADD INDEX `vwpersonsummary_idx_empid_dtmdate` (`EMPID`,`dtmDate`);
SELECT
v.EMPID,
UPPER(p.FirstName + ' ' + p.LastName) AS EmpFullName,
v.dtmDate,
v.Tcode,
v.Hours,
v.ProjectNo
FROM
vwPersonSummary v
JOIN
tblPerson t
ON v.EMPID = t.EMPID
WHERE
v.EMPID = @CurEmp
AND v.dtmDate BETWEEN @BegDate AND @EndDate
ORDER BY
v.dtmDate