Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Truncate
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Titre:
Divers
Thread ID:
00669650
Message ID:
00669672
Vues:
12
No. TRUNCATE TABLE must be called for each table. You could write a stored proc which created the various TRUNCATE TABLE commands. The other issue is that TRUNCATE TABLE cannot be used on tables that have a FK constraint.

-Mike

>Hi All:
> Is there a way I can truncate all of my tables in a database by issuing just one command without deleting the entire database structure or the tables?
>Thanks for the help
>MA
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform