We are not sure what's in your query, Please post your query if possible. Normally SQL query execution can be slow if it contains functions. If your query dowsn't contains any functions you can try converting this query to a
stored procedure[
^]. Stored procedures can give a performance boost.
Regards
Sebastian