Evening,
I have started in an organisation where a huge SSIS solution involving large packages pushes data all over the place including between servers. The person who developed it has left and I've been left with the task of figuring it out and debugging it...
I've produced some quite extensive DFDs to map out the relationships between stored procedures, tables, views etc but there are some tables where I have found it impossible to determine what process inserted into it/updated it.
What I'd like to do is to create some fields on the tables I am concerned about with default values each time the table is written to.
- Field1,
- Field2,
- etc...
- 'DateTime Record Added'
- 'Process that 1st Inserted the record',
- 'DateTime Record Last updated'
- 'Process that Last Updated the record'
Where the process values would be in the form 'Server.Database.schema.UspName'
I've looked through sysprocesses and searched online and I can't find a solution. Any ideas?
{Using SSMS 2014}
Thanks in advance,