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:
SELECT
*
FROM
Report
WHERE
(
(
Report.Create_Date BETWEEN '10/10/2013 16:00:00' AND '10/16/2013 15:59:59'
)
OR (
Report.Date_Resolved BETWEEN '10/10/2013 16:00:00' AND '10/16/2013 15:59:59'
)
OR (
(
(
Report.Create_Date < '10/10/2013 16:00:00'
)
AND (
Report.Date_Resolved > '10/10/2013 16:00:00'
)
)
OR (
(
Report.Create_Date < '10/10/2013 16:00:00'
)
AND (
IsDate(Report.Date_Resolved) IS NULL
)
)
)
OR (
(
(
Report.Create_Date < '10/16/2013 15:59:59'
)
AND (
Report.Date_Resolved > '10/16/2013 15:59:59'
)
)
OR (
(
Report.Create_Date < '10/16/2013 15:59:59'
)
AND (
IsDate(Report.Date_Resolved) IS NULL
)
)
)
)