I get this error message when I try to execute a stored procedure.
No catalog entry found for partition ID 8646911294669324288 in database 2. The metadata is inconsistent. Run DBCC CHECKDB to check for a metadata corruption.
If I run the SQL code inside the SPROC it works fine. I have tried recreating, renaming, different database, everything, always the same response (but different partition ID number).
DBCC CheckDB never shows any issues.
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)