Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not find thread
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01379124
Message ID:
01384863
Vues:
40
>>Hi everybody,
>>
>>I'm trying to find a script that would list size of all database objects. I think it was posted here before, but I'm unable to find the thread.
>>
>>Thanks in advance.
>
>Take a look at
>http://www.mssqltips.com/tip.asp?tip=1629

I just found also
SELECT CASE WHEN (GROUPING(sob.name)=1) THEN 'All_Tables'
   ELSE ISNULL(sob.name, 'unknown') END AS Table_name,
   SUM(sys.length) AS Byte_Length
FROM sysobjects sob, syscolumns sys
WHERE sob.xtype='u' AND sys.id=sob.id
GROUP BY sob.name
WITH CUBE
at http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform