query timed out

  • I am trying to do import/export task in sql 2005 by importing the results of a large, large query into an excel file. While I was providing a Source Query , and I try to hit the next button I got this error: The statement could not be parsed. Additional Information: Deferred prepare could not be completed. Query timeout expired (microsoft sql native client).

    This happen after about 50 second or so.

    If I ran this same query in a query analzyer in sql 2005, it runs in about 7 minutes without problem.

    Anyone have a solution to this?

    Thanks

  • I think you can create a temp table and insert the proc dataset in this table and then you can export this table.

    Esat Erkeç

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply