dbTalk Databases Forums  

Deleting the SSIS package when it is running

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


Discuss Deleting the SSIS package when it is running in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Contact_babs (Offline)
Junior Member
 
Posts: 2
Join Date: May 2006

Default Deleting the SSIS package when it is running - 05-24-2006 , 12:28 AM






Hi,

I m running the SSIS package by scheduling it in a job.
When the job is started, SSIS package is also started.
But now we can able to delete that SSIS package when it is running

Is there anyway to stop the deletion of package while it is running
and
How to know that SSIS package is running through T-SQL


Babs

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Deleting the SSIS package when it is running - 05-25-2006 , 04:06 AM






Hello Contact_babs,

How are you storing the package?
You can stop people deleting it by denying them the ability to do that in
the staore location so file perms etc.

The thing is you can delete packages in DTS as well whilst they are loaded
into the designer. They are loaded into the calling/editing program and
then they cease to be the thing on disk. Think of it as a copy.

I do not think you can query the running package through TSQL and unless
you store them in MSDb and/or the package store then you will not be able
to know when they are running period.

SSMS has the running package section in the SSIS service and you can query
for them in a programming language of your choice using GetRunningPackages

Have a look here in BOL

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/dtsref9mref/html/M_Microsoft_SqlServer_Dts_Runtime_Application_GetR unningPackages_1_16219e3a.htm


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi,

I m running the SSIS package by scheduling it in a job. When the job
is started, SSIS package is also started. But now we can able to
delete that SSIS package when it is running

Is there anyway to stop the deletion of package while it is running
and
How to know that SSIS package is running through T-SQL
Babs




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.