Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Data Warehousing
»
Integration Services
»
Avoid multiple processing of SSIS package...
Avoid multiple processing of SSIS package (Running package cannot be re-executed)
Rate Topic
Display Mode
Topic Options
Author
Message
matmar
matmar
Posted Monday, October 08, 2012 6:28 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, January 21, 2013 1:21 AM
Points: 4,
Visits: 83
Hi,
I am executing an SSIS package with DTEXEC. How can I prevent that SSIS executes the same package more than once?
Example: I double-click on the DTEXEC command, the SSIS package is running, I double-click on the DTEXEC command again --> Now the SSIS package should not be executed because it is already running.
Thanks!
Post #1369770
Koen Verbeeck
Koen Verbeeck
Posted Wednesday, October 10, 2012 12:19 AM
SSCrazy Eights
Group: General Forum Members
Last Login: 2 days ago @ 6:54 AM
Points: 9,364,
Visits: 6,462
You should keep a log table somewhere where you log a record at the beginning of the package stating that the package is already running.
Before this task, add another task that gets the last entry of that log table, check the date and see if it is already running or not. Use an expression on the precedence constraint to determine if you are proceeding with the package or not.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1370701
matmar
matmar
Posted Wednesday, October 10, 2012 1:29 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, January 21, 2013 1:21 AM
Points: 4,
Visits: 83
...good idea! Thanks for your help.
Post #1370734
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.