Is there a way to find all schemas in a server that have not been touched for a period of time and drop therm?


at company have many qa people create temporary schemes on few database servers. use schema while, or around day or so. due our product can not re-use same schema name , have install valid testing.  i have been trying find way can find old schema's not used anymore , delete them. should given task, , have no prior experience database management.

for reason, doesn't the schema_id >4. when comment out, works. helps lot.


SQL Server  >  SQL Server Manageability



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........