all groups > sql server dts > january 2005 >
You're in the

sql server dts

group:

DTS and server threads


DTS and server threads JRStern
1/13/2005 1:46:11 PM
sql server dts:
If I have a simple DTS package, exporting rows from a table out to a
text file, will that spawn multple threads on the server, and if so,
can it be prevented, and if so, how?

Thanks!

Josh
Re: DTS and server threads Darren Green
1/13/2005 11:29:51 PM
In message <qvqdu0h0a1rn4oi5s7arv7olc6nku6meog@4ax.com>, JRStern
<jxstern@bogus.com> writes
[quoted text, click to view]

The process will only work on one thread but a package may use one or
more in itself. To prevent this, there is a setting for parallel task
running set in package properties, which defaults to 4, although you
will not get this depending on hardware. The most important setting is
Execute on main thread which is set on a task/step level. Right-click
the task and select Workflow Properties, then Options. Check execute in
main thread and it ensures that tasks do not start another thread.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
AddThis Social Bookmark Button