Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

update config table Expand / Collapse
Author
Message
Posted Friday, April 12, 2013 4:49 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, April 24, 2013 12:19 PM
Points: 67, Visits: 317
Hello there,

I want to have StartDate and EndDate in config table. I need this so that just in case if the package fails, I can execute for any range of date as I need.
Is it a good idea to update the table on daily basis to run the package for previous day. Also, another job will have to created and run to update Config table dates ? am I thinking in the right direction ? :)

Thanks in advance!
Post #1441966
Posted Wednesday, April 17, 2013 3:15 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, April 24, 2013 12:19 PM
Points: 67, Visits: 317
anyone with answer ?
Post #1443503
Posted Wednesday, April 24, 2013 5:58 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, March 24, 2014 8:12 AM
Points: 117, Visits: 226
If you're looking to detect package failures, you'll want to read up on error handling and Logging in SSIS. You'll also want to look into Event Handlers and Checkpoints. These can help you detect and resume from the point of failure or take other actions depending upon your specific needs.

Also read up on system variables. There are a number of useful ones that can give you all kinds of information for package failures. Derived columns, OLE DB Command transformations or Script Components can be used to create and update rows in an output using these variables. They all have their advantages and disadvantages, so use what fits your needs.


____________
Just my $0.02 from over here in the cheap seats of the peanut gallery - please adjust for inflation and/or your local currency.
Post #1445890
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse