Channel Description:

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 flattened and re-created the entire database (file groups

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 this transaction.
How can I find and/or cle

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 I'd simply import this into a new SQL2008R2 DB

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 package that is being executed on the server itself

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:
[color=#ff0000]Msg 233, Level 20, State 0, Line 0
A tr

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. How does that happen?

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: Attribute (object_id=12331604) of row (objec

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 (cyclic redundancy check).) BACKUP DATABASE is te

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 Server". I'm specifically interested in how to resto

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 wanted to persevere and see if there were any alterna

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 allocated in the GAM, but no SGAM or IAM has allocated

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 are non technical people). Its basically accountin

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 database by design.
The system is divided into mul

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 effects a single indexed view in one DB. Th

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 (SP1 I think)
I do have solid backups of the syste

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 research into this, and very little has come up.

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 restoring from recent .bak & .trn backups. Following the res

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 where condition.It is taking login time 48 sec

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 didn't want to lost that much data so we opted for

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 environment there is a Temp table created wh

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 file. The mdf can't be attached on a different machine

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]
The corrupted index is a non-clustered Uniqu

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) and PFS (1:3615336), but was not allocated in any IAM

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 percent_complete=0. Records were added into suspect_pages

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 NO_INFOMSGS, ALL_ERRORMSGS
Msg 8948, Level 16, State

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 any IAM. PFS flags 'MIXED_EXT ALLOCATED 0_P

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 uses and identity insert or reseeds it and it causes

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 2008 R2 cluster env.Note: Actual data is unaffected