index rebuild failed

I have index rebuild procedure failed. I have the following error. The failed run into this line then stop
Msg 1088, Level 16, State 9, Line 1
Cannot find the object "ABC_Staging.dbo.primed/mxc10288.enrollcoverage" because it does not exist or you do not have permissions.

Open in new window


The problem is I don't find this object. How come it keep failing into this line?

How to fix it
wasabi3689Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

svalekarCommented:
Drop the rebuild procedure and create it again and checked it.

Execute procedure by giving full qualified name "Database.DBO.storeprocname"
0
Jason clarkDBA FreelancerCommented:
Dropping the sproc and recreating can fix your prblem or an internal table used by Change Tracking, and you cannot access this table unless you are connected on the Admin connection.
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
I have index rebuild procedure failed.
Can you explain how is the procedure?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Nakul VachhrajaniTechnical Architect, Capgemini IndiaCommented:
I wonder if it's the presence of a slash (/) in the object name that is the problem.

Should "ABC_Staging.dbo.primed/mxc10288.enrollcoverage" actually be "[ABC_Staging].[dbo].[primed/mxc10288].[enrollcoverage]", i.e. is the table name [primed/mxc10288]?
0
wasabi3689Author Commented:
[primed/mxc10288].[enrollcoverage] is the table name.
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
So, why do you need the dbo part in the table name?
The correct name to use should be: ABC_Staging.[primed/mxc10288].enrollcoverage
0
Nakul VachhrajaniTechnical Architect, Capgemini IndiaCommented:
I agree. If [primed/mxc102888] is the schema, the [dbo] does not make sense. The 4-part naming convention is: [instance name].[database name].[schema name].[table/object name]

In your case, you only need [database name].[schema name].[table/object name] - where does the [dbo] come in?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vitor MontalvãoMSSQL Senior EngineerCommented:
wasabi, what's the difference from Nakul's comment and mine?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.