Identify the user login datails who deleted my database

  • Hi all,

    I have one quick question and i need your help on this,

    I have database named 'Test' in my local server.Say for example someone has dropped the same.

    How to identify from which login the database have been dropped and the other information like when the database have been dropped i mean date & time?

    Is there any query for this or any log files which holds this information?

    Thanks,

    Chandru

  • Hi all,

    I have got a solution by surfing in Sql server central forum discussion .

    Solution:

    SELECT * FROM fn_trace_gettable('C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\log.trc', default);

    Is there any other thing to identify the same?

    Hope the above solution may be useful for someone.

    Thanks,

    Chandru

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply