How to add and/or create table dependencies?


I have a table that I moved from from one environment (QA) to another (Production).

Although I have moved other objects associated with this table, one of the dependencies do not display.  For specifics, please see attached file.

 Basically, how can I add the additional dependency to the table in production that is listed in QA?

Should it be done via the dba_dependencies view?  My understanding is that it should have been done automatically.

Regards, and Thanks!
Who is Participating?

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

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.

slightwv (䄆 Netminder) Commented:
It looks like the package MSU_JOINT_LIFE_EXPECTANCY_D3 wasn't migrated or the one migrated doesn't reference the WDT_JOINT_LIFE_EXPECTANCY_MSU table.

You don't migrate things from the views.  The views just tell you what is or isn't there.

To see about the package, you can get the DDL for it with:
select dbms_metadata.get_ddl('PACKAGE','MSU_JOINT_LIFE_EXPECTANCY_D3') from dual;

If using a tool like sqlplus, you might need to expand the LOB that is displayed like:
set long 1000000

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
Geert GOracle dbaCommented:
you could try the get_dependant_ddl from that same dbms_metadata
henderxeAuthor Commented:
I'm very sorry for the delay!
Solution worked fine!
Thanks very much!
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
Oracle Database

From novice to tech pro — start learning today.