Re: Database maintenance using DBCC DBREINDEX
From: Julie (anonymous_at_discussions.microsoft.com)
Date: 04/21/04
- Next message: Miro: "standby server"
- Previous message: Tibor Karaszi: "Re: Unscheduling a scheduled job..."
- In reply to: Jo Segers: "Re: Database maintenance using DBCC DBREINDEX"
- Next in thread: Jo Segers: "Re: Database maintenance using DBCC DBREINDEX"
- Reply: Jo Segers: "Re: Database maintenance using DBCC DBREINDEX"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 21 Apr 2004 06:50:28 -0700
As far as I know there is no Microsoft official version
that does the same, sorry.
However you can get all the user tables from your database
by doing
select Name from sysobjects where xtype = 'U'
J
>-----Original Message-----
>Thanks,
>
>Do you know if there is a similar stored procedure that
is supported?
>
>Jo.
>
>"Julie" <anonymous@discussions.microsoft.com> schreef in
bericht
>news:201f01c42789$52e4ddb0$a601280a@phx.gbl...
>> Hi Jo,
>>
>> The command sp_msForEachTable is no longer supported my
>> Microsoft. This means on the next release of SQL Server
it
>> may or may not be part of it.
>>
>> If its not supported then there are no BOL's for it.
>>
>> J
>>
>>
>> >-----Original Message-----
>> >Hi,
>> >
>> >Currently, I use sp_msForEachTable to reindex every
table
>> in one of my
>> >databases. However I did not find any information
>> regarding this stored
>> >procedure in BOL. Is it safe to use, or why isn't it
>> documented?
>> >
>> >EXEC sp_msForEachTable @COMMAND1='DBCC DBREINDEX ("?")'
>> >
>> >Yours sincerely,
>> >
>> >Jo Segers.
>> >
>> >
>> >.
>> >
>
>
>.
>
- Next message: Miro: "standby server"
- Previous message: Tibor Karaszi: "Re: Unscheduling a scheduled job..."
- In reply to: Jo Segers: "Re: Database maintenance using DBCC DBREINDEX"
- Next in thread: Jo Segers: "Re: Database maintenance using DBCC DBREINDEX"
- Reply: Jo Segers: "Re: Database maintenance using DBCC DBREINDEX"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|