Hi Everyone!
This post is another short and sweet post.
I was at work and a coworker asked me if I could tell them who deleted a particular database on their developer server.
A delete action is part of using DDL statements in SQL server.
DDL stands for Data Definition Language. DDL commands impact the structure of the database so create, alter or delete are popular examples of this.
You can read more about DDL statements here .
To find who the culprit is, all you have to do is:
Note: This report will show you all the DDL statement executions for the instance.
That's it :).
Thank you and Happy reading,
-marshé hutchinson
#learnSQLwithme
This post is another short and sweet post.
I was at work and a coworker asked me if I could tell them who deleted a particular database on their developer server.
A delete action is part of using DDL statements in SQL server.
DDL stands for Data Definition Language. DDL commands impact the structure of the database so create, alter or delete are popular examples of this.
You can read more about DDL statements here .
To find who the culprit is, all you have to do is:
- In SSMS, Right click your instance >choose 'Reports' > 'Standard Reports' > 'Schema Changes History'
Note: This report will show you all the DDL statement executions for the instance.
That's it :).
If you have any further questions, please post below.
Thank you and Happy reading,
-marshé hutchinson
#learnSQLwithme
Comments
Post a Comment