dbTalk Databases Forums  

Isolating a DTS package

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Isolating a DTS package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shop@pacifictabla.com
 
Posts: n/a

Default Isolating a DTS package - 12-21-2004 , 04:55 AM






Hello:

Simple question from a relative DTS newbie. When a DTS package is
running, I want to make sure that the only thing that can update the
tables is the package, and that the package cannot be run by anyone
else while that instance of the package is running. What is the best
setting for this?

Thanks,

Kayda


Reply With Quote
  #2  
Old   
Joseph Sack
 
Posts: n/a

Default RE: Isolating a DTS package - 12-21-2004 , 09:59 AM






Hi Kayda,

There isn't a GUI method within SQL Server 2000 DTS to enable this
functionality, however you can build in custom Transact-SQL logic instead.

For example, you can create a DTS package status table that gets logged to
at the beginning and the end of your DTS package execution. Create 'Execute
SQL' tasks to validate whether or not the package should continue a specific
workflow based on the values in this table. If the last status was a
completed execution, the DTS package is safe to run. If the last status is
still open-ended, you may assume that there is already a DTS package
executing.

In SQL Server 2005, we will have a DTS Service that will allow us to monitor
all executing packages for a specific SQL Server instance.

Best Regards,

Joe Sack
Author of "SQL Server 2000 Fast Answers..."
http://www.JoeSack.com


"shop (AT) pacifictabla (DOT) com" wrote:

Quote:
Hello:

Simple question from a relative DTS newbie. When a DTS package is
running, I want to make sure that the only thing that can update the
tables is the package, and that the package cannot be run by anyone
else while that instance of the package is running. What is the best
setting for this?

Thanks,

Kayda



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.