Incorrect checksum error information describes a correct checksum?
I've been hitting a problem where a CREATE INDEX is failing. The debug error exception shows the error is invalid because expected and actual are a match, not a miss-match. This is killing me. I've...
View ArticleSQL Error 37000: Active Save Point
Hi Hopefully someone can help, I have a piece of software which is returning a SQL Error: 37000: Cannot Promote the transaction to a distributed transaction because there is an active save point in...
View ArticleRestore from SQL2005 to SQL2008R2 results in DBCC Inconsistencies
Hi, fairly new to SQL, and being tasked with copying an SQL2005 DB to an SQL2008R2 Server. We are running daily full backups through SSMS on the SQL2005 server (OS is still Windows 2003), and I thought...
View ArticleRestore SSIS Package
The SSIS Project/Package stored in our file system is corrupted - still trying to see how that happened. The job that executes this package is still working as it should. Is there a way to restore the...
View Articleex_raise2: Exception raised
Hi, Has anyone experienced this before? The error log states the following: Message ex_raise2: Exception raised, major=52, minor=42, state=9, severity=22, attempting to create symptom dump Possible...
View ArticleIs my Database corrupted ? Any solutions on fixing this ? Help
Hi everyone, i need your expertise on this regard. There is one specific row and column that i think was corrupted (my presumption). I try SELECT on that specific table it produces this error:...
View ArticleTable size and Index size
Good afternoon I ran across an issue that I don't understand. I have a DB that is 177gb. When I dug through the DB, I found a table that said it had 8gb of data space used and 90gb of index space used....
View ArticleSQL 2008 R2 - Check DB Fails - Msg 8992, Level 16, State 1, Line 1 Check...
When I exec the following: DBCC CHECKDB (DBNAME) WITH NO_INFOMSGS; I am receiving numerous errors similar to the ones that follow. Msg 8992, Level 16, State 1, Line 1 Check Catalog Msg 3853, State 1:...
View ArticleBig database with data file failure
Hi, I have a database with a .mdf file of 182GB. I was trying to setup a maintenance plan and the backup job failed with this message: [b]"Read on "G:\SQLDATA\Prod1_Content.mdf" failed: 23(Data error...
View ArticleAnyone completed a recovery after ChechDB errors when using Veeam for backups???
Hi, The company I've recently joined is in the process of switching over to using Veeam for all backups. I was wondering if anyone had any experience of working with Veeam and their "Explorer for SQL...
View ArticleConsistency Errors
Hi all Can anyone advise on the best recovery approach for the DBCC output below? Customer in question does not have a good backup story and is considering doing an allow data loss repair. I just...
View ArticleSQL 2008 corruption
Can anyone give me a suggested direction to fix these errors? DBCC CHECKDB('CPS') WITH NO_INFOMSGS, ALL_ERRORMSGS Msg 8905, Level 16, State 1, Line 1 Extent (1:92720) in database ID 6 is marked...
View ArticleDatabase Restore - LSN Sequence Broken
Hello Everybody, This is first time I writing in this Forum. I use to write software in C#.net and I use sql server as backend. One of my software is distributed to around 500 businesses (All of them...
View ArticleCorrupt Record - Non-relational database Structure
We have a system with proprietary algorithm that converts the data entered in an user interface into a concatenated string. The database is SQL Server 2008R2 (Sp3) but it is not conventional relational...
View ArticleRebuild index job is causing index corruption?
Hi I posted previously "Corrupted index - find out what caused it". I've had the file system checked, check disk etc no issues. Rebooted server It is running on [b]SQL 2005[/b]. Workgroup edition. It...
View ArticleSerious issue on 2008R2 - lost all system databases
Short story - someone messed up on the SAN and deleted the drive that contained my master, model, and msdb databases. So, I have a MSSQL instance with a crapload of DB's, but no system DB's. SQL 2008R2...
View ArticleSQL Fatal Error 669 - The row object is inconsistent. Please Rerun the query
Hi All, I'm troubleshooting an issue that's occurred in one of our applications, which produced error 669, severity 22 - The row object is inconsistent. Please rerun the query. I've tried doing some...
View ArticleDBCC CheckDB successful but Backup teminates (Msg 3203, Level 16, State 1,...
Following a SAN issue one database was marked Suspect. No other corruption was apparent on any of the system dbs or other user dbs. With CHECKDB showing extensive inconsistencies the recover was...
View ArticleQuery taking long time
hi, one of the query is having the below parameter declare @StartDate DATETIME select @StartDate= SWITCHOFFSET(CONVERT(DATETIMEOFFSET, (DATEADD(day, -1, GETDATE()))), '-10:00') and we used startdate in...
View ArticleUser database corruption - "No catalog entry found for partition X in...
This has been a nightmare scenario trying to fix up a VLDB after it went suspect and failed DBCC CHECKDB. There were backups but it had been two weeks since the last successfull CHECKDB; business lines...
View ArticleString or binary data would be truncated. Error when inserting empty table...
Has someone ran into something strange like this where no data is being inserted but this error happens. Msg 8152, Level 16, State 14, Line 1 String or binary data would be truncated. In our production...
View ArticleWHAT TO DO WHEN DBCC CHECKDB(REPAIR_ALLOW_DATA_LOSS) FAILS
Hello, our server hard disk crashed due to power failure and all the backups were on the hard disk. Before just before it did we had managed to copy the mdf file but power failed while copying the log...
View ArticleCorrupted index - find out what caused it
Hi I got this error on a scheduled integrity check. SQL 2005 sp2 [i]Data row does not have a matching index row in the index '' (ID 2). Possible missing or invalid keys for the index row matching:[/i]...
View ArticleCorrupted innodb table crashing mysql instance how to recover table?
Hello, Running a simple query against corrupted innodb table is crashing mysql instance . [code="plain"]table test.xyz got corrupt during crash and truncate table command was in progressing when mysql...
View ArticleDBCC CHECKALLOC returns errors
When I run DBCC CHECKALLOC on a database I get the following error DBCC results for 'MYDB'. Msg 8906, Level 16, State 1, Line 1 Page (1:3621975) in database ID 8 is allocated in the SGAM (1:3578625)...
View Articlepage corruption found when enabling TDE, but DBCC CHECKDB ahows no errors
I need help with fixing corrupted page. I've got into this trouble yesterday , when it was required to enable TDE on one of the DB copies. The TDE encryption hanged with encryption_state=2 and...
View ArticleDatabase Corruption
When I run DBCC CheckDB i get erroros. the thing that i saw is corruption in sys.sysobjvalues in addition to other tables. attached is the result of DBCC CheckDb DBCC CheckDB ('medmas') WITH...
View Articlehow to correctly restore page ERROR (data-corruption)
hi All, i executed dbcc checkdb ('yout_Database') and result is as following: Msg 2533, Level 16, State 2, Line 1 Table error: page (1:11760) allocated to object ID 1637580872, index ID 1, partition ID...
View ArticleDBCC CHECKDB('MSDB') returns errors
DBCC CHECKDB('MSDB') returns errors the following is the error Msg 8906, Level 16, State 1, Line 1 Page (1:2333) in database ID 4 is allocated in the SGAM (1:3) and PFS (1:1), but was not allocated in...
View Articlelow identity value inserted
I have a table that has an identity on it. There are many people and apps that hit this table. the value increments as normal most of the time, but every now and then, we get a low value, as if someone...
View Articlemissing concatenated star
Hi all,I have got something weird, I've never seen before.Running the query ...select
View ArticleColumn Names Corrupted
Intermittently we are getting column header names corrupted in the output text file when executing a stored proc from a job in SSIS step. This is 15 yr old process that has only started to fail in a...
View ArticleCheck Catalog Msg 3857, State 1: The attribute (owning_principal_id=NULL) is...
Hi, We've had a vm crash which has caused a lot of corruption. all my errors seem to be in sys.database_principals.. which seemed easy to fix! I thought dropping the principal id user and recreating...
View ArticleSQL Database corruption issue
We are suddenly getting a lot of errors in a 160GB database along the lines of SQL Server detected a logical consistency-based I/O errorThis seems to have started happening around 02:00 on 14/08/17...
View ArticleCorruption reported...but index rebuild resolves it
On one of our databases some corruption has been detected...sadly it is going back so long we don't have the backup s[code language="sql"]Msg 8909, Level 16, State
View ArticleIntermittent problem. Not all data is getting through to the database.
Hi,We have some software that passes information through to a SQL database. One of our customers seem to be having an intermittent problem where not all the data is getting through to the database....
View Articlei cant open my Stored Procedure
SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0xd6715d3a; actual: 0xd6715d2a). It occurred during a read of page (1:498) in database ID 14 at offset...
View Article