SQL Database - Move Tables from one Database to Another

Hello Experts,

I was performing an installation of Business Objects 4.2 and the CMS and Audit databases were created. However, not sure what I did, but the audit tables ended up in the CMS Table. Is there an easy way to move them out of CMS DB to the Audit DB without damaging pointers etc?

In the CMC I have the db connection pointed to the Audit db, but the tables are in the CMS db. I need to move them over to Audit db.

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.

The create/copy on the db is one step, your application installation may have their own referencing that based on your responses combined though I am unfamiliar with the application you reference so it is hard to respond to the impact specifically if as many use stored procedures, viewers etc.
that will complicate severing.

If this is an initial install where there is not data, starting ...
Vitor MontalvãoMSSQL Senior EngineerCommented:
What about changing only the database names? It won't work for you?
Anyway, you can always use the Import/Export wizard and delete the tables after copying them to the correct database:

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:
Member_2_7964761, a feedback will be appreciated.
Member_2_7964761Author Commented:
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

From novice to tech pro — start learning today.