November 17, 2009 at 1:28 pm
I ran DBCC CHECKDB WITH DATA_PURITY against a database and got
Msg 8964, Level 16, State 1, Line 1
Table error: Object ID 789577851, index ID 1, partition ID 72057594040025088, alloc unit ID 71827864835260416 (type LOB data). The off-row data node at page (1:830), slot 1, text ID 119930880 is not referenced.
I then ran DBCC DBREINDEX which didn't help.
I recreated under a different name which didn't help.
I read that DBCC CHECKDB with REPAIR_ALLOW_DATA_LOSS fixes but you can lose data. So I wanted to export the table before doing so and got this error.
Error 0xc0208030: Data Flow Task: The data type for "input column "Col1" (98)" is DT_IMAGE, which is not supported.
Use DT_TEXT or DT_NTEXT instead and convert the data from, or to, DT_IMAGE using the data conversion component.
(SQL Server Import and Export Wizard)
I'm a little confused on what my actual problem is, the index or the column? The index referenced in the first error is a clustered, unique index on a column that is an int, not null. The column mentioned in the Data Flow error is image, null.
Any help is greatly appreciated!
November 17, 2009 at 2:10 pm
If this is the only error, then repair won't cause any data loss, as the image that it references isn't linked into the table.
Is this a database that you've recently upgraded? I'm curious as to why the corruption occured in the first place - my guess is that the corruption was there from a previous version. (Also, the fact that you're running WITH DATA_PURITY - which is recommended after an upgrade to 2005.)
Thanks
Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
November 17, 2009 at 2:17 pm
Paul Randal (11/17/2009)
If this is the only error, then repair won't cause any data loss, as the image that it references isn't linked into the table.Is this a database that you've recently upgraded? I'm curious as to why the corruption occured in the first place - my guess is that the corruption was there from a previous version. (Also, the fact that you're running WITH DATA_PURITY - which is recommended after an upgrade to 2005.)
Thanks
Well that is good news. I looked at the table, 47 rows only, and for that column all the values are null. I'm wondering what could possibly be the problem?
I recently migrated from 2000 to 2005 but went back to check the old database and the problem exists there as well.
November 23, 2009 at 10:49 pm
Paul Randal (11/17/2009)
Is this a database that you've recently upgraded? I'm curious as to why the corruption occured in the first place - my guess is that the corruption was there from a previous version. (Also, the fact that you're running WITH DATA_PURITY - which is recommended after an upgrade to 2005.)Thanks
I love the way Paul reply..streight and simple.
Corruption might be from the previous version.
Cheers,
Got an idea..share it !!
DBA_Vishal
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply