Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to miminize size of table?
Message
De
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:
00544774
Vues:
21
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
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform