Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query vs DTS SQL Task Performance

Status
Not open for further replies.

Meleagant

Programmer
Aug 31, 2001
166
US
All,

I have a SQL query that performs an insert; we're talking about 20 columns X 150,000 - 250,000 rows depending on the month. Normally from SQL Query Analyzer this query, actually I execute it via a stored proc, will take anywhere from 8 - 12 seconds to finish. Unfortunately this query is one step in a chain and in an effort to break away from MS Access (where this process was kept before) I threw the whole thing into a DTS. But the same 8 - 12 second query run from SQL QA, takes a good 3 - 4 minutes when run from DTS. Can anyone tell me why?

Journeyman -- The Order of the Seekers of Truth and Penitence
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top