• sqldba_icon (2/14/2011)


    Grant Fritchey (2/14/2011)


    For a) you want to take a look at the default trace. That's how you can tell who made structural changes to the system.

    As far as b) goes, if the user is still there, the jobs are running under that security context since that user is the owner. I don't know what would happen if you deleted the user. I suspect the job would fail.

    Thanks Grant

    a) Doesn't really help because gives data from default trace about few days back. I was expecting to query a table to find " who created" sql job.

    It might be in the agent tables in MSDB. It's not something I've looked for before, but that's where I'd look if the default trace isn't going to help.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning