• Sqlsavy (9/16/2013)


    Sorry for the delay I have now attached the query.

    Query 1 and query 2 takes approximately two minutes to run but query 3 takes around 9 hours which was running under 30 minutes before.

    Nothing has changed in recent times from the In-depth I can only see high CPU usage for query 3

    Those are pretty simple queries. Can you post the DDL for the destination table, Databasename2..EMPLOYEE2 and the Execution Plan for the long-running insert (estimated plan is fine)? For the execution plan please post the .sqlplan. Video on how to do that is here[/url]