Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reindex all tables routine
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01513352
Message ID:
01513380
Vues:
45
>>>>In my VFP application that works with VFP database I have an item on the main menu to reindex all tables (using SDT). Now as I am moving to SQL Server I am wondering, is it a common practice to have the same item in the VFP application menu? That is, to have the application to reindex SQL Server tables? Or this is more commonly done by a DBA?
>>>>
>>>>TIA.
>>>
>>>
>>>This is done by Maintenance plans defied by you or DBAs.
>>>If you (DBA) can't define such plan (because of Express editions of SQL Server) you could use DBCC commands.
>>
>>Did you mean running the SP to reindex from the application? What do you mean by DBCC commands?
>
>
>sp_MSForEachTable :-)
>
>EXEC YourDBName..sp_MSforeachtable 'DBCC DBREINDEX(''?'')'
>
Speaking about Maintenance plan. Who makes it (if such term can apply to it)? the DBA or developer?

Update: I see that you said "defined by you or DBA". So I need to figure out how to define it then. Thanks.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform