Error -2714 There is already an object named 'usr_ossi_gcpa_orddata' in the database

After dropping the table from MS SQL Server 2008, I want to red-add it.  However, when I am adding it, I get the error "Error -2714 There is already an object named 'usr_ossi_gcpa_orddata' in the database"

I have checked the system tables, system columns and constraints.  I like to know where to check.
tgatif2000Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

kenwagersCommented:
Have you checked to see if there is a schema for that object?  That is likely the remaining part.

Alternatively, run this to identify what the object is:

select * from sys.objects where name = 'usr_ossi_gcpa_orddata'
0
tgatif2000Author Commented:
I have checked the objects and usr_ossi_gcpa_orddata is not there.
0
kenwagersCommented:
Did the SELECT statement above return any rows?  Do you have 'sa' level authority?

Did you check for synonyms?
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

tgatif2000Author Commented:
SELECT statement returned the rows so I have 'sa' level authority.

there are no synonyms
0
kenwagersCommented:
What rows were returned by the select statement?  Can you post them here?
0
tgatif2000Author Commented:
Here is the result:
select-rows.JPG
0
kenwagersCommented:
Thanks for the list.  It seems it's not in the current database.  Are you sure you've set the current database using the 'USE <database>' command to the current area?

Could you try this in front of the CREATE TABLE statement?

IF EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.TABLES
                  WHERE TABLE_NAME = 'usr_ossi_gcpa_orddata')
  DROP TABLE usr_ossi_gcpa_orddata
GO

<table create statement here>

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
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 2008

From novice to tech pro — start learning today.