Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to miminize size of table?
Message
 
À
16/08/2001 12:12:45
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Divers
Thread ID:
00544575
Message ID:
00545171
Vues:
24
>OK, just out of curiousity, what is the largest ntext value that you have? You can use the DATALENGTH() return the amount of data in a column:
>
>SELECT DATALENGTH(textcolumn) FROM thetable
>
>Did you try running DBCC CHECKTABLE and DBCC CLEANTABLE?
>
>As a last resort, you may have to copy the text data out of the table, drop the column, and then copy it back in.
>
>-Mike

I think you're right. Something wrong with the table.
We have identical table with same amount of rows in another database and it's only 2.3GB size!
BTW, I can't find DBCC CLEANTABLE in MS SQL 7.0...
Thanks!
Giedrius
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform