Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Error 606 occured - Metadata inconsistency for temp table

$
0
0

Hello,

we currently have an issue on a production server running SQL Server 2005 Standard:

Executing a stored procedure, which again executes another stored procedure in which a temporary table #PIVOT_ITEMS is created and filled.

The stored procedure throws an exception that error 606 has occurred. Looking at the SQL Server logs, it contains:

"Metadata inconsistency. Filegroup id 0 specified for table
'dbo.#PIVOT_ITEMS' does not exist. Run DBCC CHECKDB or
CHECKCATALOG
".

DBCC CHECKDB didn't help, so what could this error mean on a temporary table?

I searched a lot in the web, but nobody else ever seemed to have this error 606...

Thanks a lot for helping!

Regards, Jens


Viewing all articles
Browse latest Browse all 12963

Trending Articles