Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dougancil
Posting Yak Master
217 Posts |
Posted - 2010-09-15 : 13:01:08
|
I'm trying to reindex a table in my database using the following query:DBCC INDEXDEFRAG (archive, marchive) and keep getting error Msg 2583.Can anyone tell me what may be causing this error?ThanksDoug |
|
Kristen
Test
22859 Posts |
Posted - 2010-09-15 : 13:15:52
|
Don't you need an Index name too? (Database, Table, Index) ?? |
|
|
k99378
Starting Member
2 Posts |
Posted - 2010-09-16 : 09:27:55
|
Can speak in detail?...john |
|
|
dougancil
Posting Yak Master
217 Posts |
Posted - 2010-09-16 : 12:01:18
|
Sorry I have found out that the syntax of this is dbcc indexdefrag, I was using dbcc dbindexdefrag. Evidently SQL 2000 doesnt like the other syntax. |
|
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2010-09-16 : 12:24:54
|
dbcc indexdefrag isn't reindexing. dbcc dbreindex is. |
|
|
dougancil
Posting Yak Master
217 Posts |
Posted - 2010-09-16 : 15:35:45
|
Sorry I should have restated that. I did mean indexdefrag rather than reindexing. My apologies. |
|
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2010-09-16 : 18:58:29
|
no need to apologize, just wanted to make sure you were getting the answers you needed |
|
|
|
|
|