How Do I See When Package Last Ran in SSIS?

I've searched for possible solutions, however none had worked for me (mostly queries for SQL Server). My problem is this:
I have a MAIN package that runs about 100 little packages in 1 main process.  A lot of times on the first load the packages are disabled are kept enabled.  I found some missing data that a package had inserted into SQL Server.  It
could be a few different packages that did this.
What I need is to see the time and date when the packages I have pinpointed as problematic have ran.  They could be enabled or disabled.  
Is there a simple way to look somewhere in SSIS to see the last date and time these packages have ran so I can compare to the recorded creation date in one of my tables?
Thanks.

Hi ,
you can try below;
SELECT TOP 1 j.name as JobName, jh.message, jh.run_status,
LastRunDateTime = CONVERT(DATETIME, CONVERT(CHAR(8), run_date, 112) + ' ' + STUFF(STUFF(RIGHT('000000' + CONVERT(VARCHAR(8), run_time), 6), 5, 0, ':'), 3, 0, ':'), 121)
FROM msdb..sysjobs j INNER JOIN msdb..sysjobhistory jh ON j.job_id = jh.job_id
WHERE CONVERT(DATETIME, CONVERT(CHAR(8), run_date, 112) + ' ' + STUFF(STUFF(RIGHT('000000' + CONVERT(VARCHAR(8), run_time), 6), 5, 0, ':'), 3, 0, ':'), 121) > DATEADD(HOUR, -24, GETDATE())
AND jh.step_id = 0 AND j.name = 'myPacakge'
ORDER BY LastRunDateTime desc
--run status 0 when job failed
--run status 1 when job succeeded
http://stackoverflow.com/questions/23504359/ssis-package-last-run-date-in-a-variable
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

Similar Messages

  • How can see when the last time you downloaded an app was?

    I Want to see when the last time a certain app was downloaded on my phone.

    I got the last ~10 logins on the computer, but not the last time a specific user was logged in.

  • HT1766 where can i see when the last back up occured on my iPhone?

    I know I can see the last back up that took place if I have my phone ... but is there a place to see when the last back up happened when I don't have access to my phone?

    Kappy wrote:
    Connect it to your computer, open iTunes, select the phone from
    How does he do that "when I don't have access to my phone", as he asked?

  • How can i see when someone has accessed my call/text log. (This is possible on google) I have been informed that someone has accessed my activity log and is giving my information to a third party. I believe it is a service tech, but I am not interested in

    How can i see when someone has accessed my call/text log. (This is possible on google/gmail) I have been informed that someone has accessed my activity log and is giving my information to a third party. I believe it is a service tech, but I am not interested in persuing that further. I just need to see when my account has been accessed if possible.

    Hi lynniewigs,
    This is a common concern among Android and I-phone user, and one of the drawbacks to using a smart phone.  We lose so much privacy. Our phones become cameras into our homes for us to be spied on.
    I don't know what type of phone you have, if it is even a smart phone, but here is an example of an application that you can use to determine which applications are accessing your information and sending it out. 
    Permission Scanner - Android Apps on Google Play
    Google just recently revamp their permissions geared to hide invasive applications that spy and send out your information without your knowledge.  Report says be aware of what your Android app does - CNET
    Please continue to be mindful of the apps you download and the permissions you give. 

  • How we can see when the condition records created.

    Hi,
    How we can see when the condition records created ( Valid from and Valid to ) ? And also how we can see the changes made in the Condition records?
    Regards,
    jyothi.

    Hello,
    you can display the condtion records in transaction VK13.
    Here you have the posibillity to display the changes of the condtion records.
    Please goto VK13
    > Enter your selection criteria
       > Enviroment
          > changes
    But you can also create a condtion list. and the you can display more than one condition record:
    Please have a look at the transation V/LD - Pricing Report
    For example: conditon list 14 for taxes.
    Here you get an overview of tax condtions.
    I hope that the information are helpful.
    Regards
    Claudia
    If you are satisfied with the answer, please give Reward Points.

  • Can I see when the last time a user logged was?

    Can I see when the last time a user logged was?
    Both in local directory and Open Directory

    I got the last ~10 logins on the computer, but not the last time a specific user was logged in.

  • How can I see when my latest iphone back up occured in iTunes without the device connected?

    My iPhon eis in recovery mode, presumably due to a failure in a software update as that was what I was last doing.  I think my phone has been syncing via wifi but before I restore from back up, I want to know when my last back up was - can anyone tell me if I can look this up on iTunes?

    To check when the latest backup was made on iTunes, open iTunes, go to iTunes menu (on the menu bar) > Preferences > Devices, and look for your iPhone's name and the date

  • How can i see when someone views my mail, how can i see when someone views my mail

    Can someone please help me figure out how I can know when someone has read an email I sent

    All you can do is "Request" a Read Receipt if the recipient does not want to send you a Read Receipt then they do not have to and you can not do anything about that. Thank God.
    You can also include something like "Apon receipt of this email would you plaes respond that you have read it", "Thank You".
    Other then that you have no control over it. Thank God.
    Do you know and understand what would happen IF the Sender could Force the Recipient to send a Read Receipt or a Forced Response that they Recieved an Email. Spammer would have a field day.

  • How to find out when the last time a tcode was run by someone

    Hi Team,
    I am just trying to find out if there is a way to find out when the last time a tcode was run by someone.I mean i need to know when was a certain  tcode was last run.
    Thanks,
    Priyanka

    HI Priyanka
    Another way would be using transaction STAT,enter the t-code you like to monitor.This will provide all details,like user, time etc...
    Hope this will help
    Thanks
    Santosh Kumar

  • How can you see when an event was created?

    Is there a way to see when an event was created in a calendar?

    However, this will have no legal standing - it is not a proof and it trivial to fake. Only carefully set up digital signatures (set up in particular ways) have legal standing (varies by country).

  • How can I see when a gift card was put on my account

    Trying to find on my account when a gift card was put on my account.  A gift card was put on my account and used, I wanted to see if there is on my account a place where it tells u when it was put on my account and all the transactions for it?

    Hi pabloyunis,
    Thanks for using Apple Support Communities.  This article covers how to view your iTunes Store Gift balances:
    iTunes Store: iTunes Gift balances
    http://support.apple.com/kb/ht5035
    Cheers,
    - Ari

  • WinSCP not being executed when package is ran from job

    I have a package in the SSIS catalog. It worked fine when it ran in the file system, but like so many others, died when I called it from a job. I ran the problem down to the fact that the account that the job was running under didn't have access to the directories
    that the package was trying to access. That solved half my problem.
    In my package I'm calling WinSCP from a script task. I can tell the executable is not getting called. No errors are being thrown. I gave the account in question full access to the folder where WinSCP resides but that didn't fix the issue. What else do I
    need to look at?

    Arthur, WinSCP has logging functionality. When the executable gets called a log file is created. No log file is being created. I did pull that particular piece of functionality out of the package and unit tested it and it worked fine which has only caused
    me further frustration.
    I am currently getting this series of errors which I only just found:
    The expression for the variable "InitialDirectoryFullPath" failed evaluation. There was an error in the expression.
    The variable "User:RootFileDirectory" was not found in the variables collection.
    Attempt to parse the expression "@[User:RootFileDirectory] + @[InitalDirectory]" failed and returned error code 0xC00470A6. The expression cannot be parsed.
    This makes no sense as it runs just fine in other environments under other accounts. Only when I push this thing to a certain box does it fail like this. RootFileDirectory is being populated by a Windows Environment Variable and I thought the problem was
    there except there are other parts of the package that use that variable and they work just fine.

  • Where can i see when i last backed up my ipod?

    It seems someone stole my ipod, and i do not want them going through my stuff. I want to erase all my data from icloud, but im afraid i wont be able to restore everything back because i dont remember when was the last time i backed it up.

    Kappy wrote:
    Connect it to your computer, open iTunes, select the phone from
    How does he do that "when I don't have access to my phone", as he asked?

  • I donated, but keep seeing requests for donations - could you find a way for me to check and see when I last donated?

    I am glad to donate, but every time I see another request to donate, I feel like I need to do so again - my stuff! It would be helpful if it were possible to find out when I donated last, so I won't feel so guilty. Is that too difficult to accomplish?

    Mozilla doesn't track contributors, or when contributors make a donation. The current campaign is 2014 E-O-Y, so if fund raising goals have been met, the requests for donations should end by the next weekend.

  • OWB - How can I see when a record has been added or amended

    I am using OWB to convert and transform some data from another system. I have
    created a primary key constraint and have set the Loading Type to Inser/Update.
    What I need to know is how can I update a column in the destination table with
    the text INSERT when a new record is inserted or UPDATE when it is updated.

    I have found a work-around that does what I need. I have written a function that sits between the source view and destination table, check if the incomming key exists in the destination table and returns a string containing UPDATE, INSERT or EXCEPTION depending on what happens in the function. The value is then passed to the destination table.

Maybe you are looking for