SQL Server Database analysis using T-SQL -


I have a small application that has approximately 38 tables in the database (SQL Server 2000/2005). Now I want to know how much data they are using using T-SQL (not in the KB / MB records). By saying better, I want to analyze the whole database. Is this possible? how ? If you want to find the place of each table, you can use the following:

/ P>

  USE yourdbname EXEC SP_MSforeachtable @ command1 = "EXEC sp_spaceused '?'"  

for further reading


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -