Hi,
after that all the data inside SQL database got deleted automatically.
deleted automatically by whom?!? If your app delete the data then the issue is in your app and if your people delete it then speak with them.
Do you really think that a database server will delete data by itself ? Who will ever use such database if it does not store the data ?!?
(1) Check your app, (2) check if your have jobs in the SQL Server that clean the data, (3) check yourself and your teammet activities....
I have checked SQL server logs
I am really wondering which logs you checked. Please clarify in which logs did you suspected to see such actions logged.
Note: there is option to check the transaction log files and their backup files in order to find actions that were executed on the data, but this is a level 500 and not documented and can take a long time even for experts.
For example in the following post I find from the transaction log file who was the last one that deleted data from specific table. In the link after it you can see how I find who created the database. In the same way you can find other activities like drop table and delete actions from the history.
https://ariely.info/Blog/tabid/83/EntryId/154/SQL-Server-Who-deleted-my-record-last-time.aspx
https://ariely.info/Blog/tabid/83/EntryId/303/SQL-Server-Who-created-the-database.aspx
What are the possible reasons for Automatic Data loss inside SQL Server database.
Non
What are the possible reasons for Data loss inside SQL Server database.
Many, including: (1) command from your applications, (2) Jobs in the SQL Server that clean the data, (3) external schedule actions by application that run on the data, (4) people activities
----------
Ronen Ariely
Personal Site | Blog | Facebook | Linkedin