project [message #554294] |
Sat, 12 May 2012 02:39 |
|
alihero
Messages: 13 Registered: May 2012
|
Junior Member |
|
|
i really did not understand the following case
In previous chapter, we have created procedures, functions, and packages to support the rental process. As application modifications are made in the future, we need to be able to identify all object dependencies to test our changes. Use the data dictionary and/or the dependency tree utility to complete a list of dependencies for all the more movies database objects.Do so in the format table
the dependency type should be listed as direct or indirect
Here is the table format
Object name dependent object dependency type
what i didn t understand is they did not specefied what table or procedure or function we should look for its dependency if all how we can know all the more movies database.
any help will be appreciated
thank you
[Updated on: Sat, 12 May 2012 02:54] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: project [message #554384 is a reply to message #554372] |
Mon, 14 May 2012 01:12 |
John Watson
Messages: 8931 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I'll try to help. You need to be clearer in your question. For example, at one point you say "THE MOVIE DATABASE" and at another you say "the mm_movie database". I'm guessing that one of these the name of the database, and the other the name of a table in the database. Is that right?
And "In previous chapter" refers to what book?
|
|
|
|
|
|
|
|
Re: project [message #554398 is a reply to message #554372] |
Mon, 14 May 2012 03:04 |
John Watson
Messages: 8931 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Please read our OraFAQ Forum Guide and How to use [code] tags and make your code easier to read
Then post what you did using copy/paste and code tags, like this:orcl> select name,referenced_name,dependency_type from dba_dependencies where owner='HR';
NAME REFERENCED_NAME DEPE
------------------------------ ------------------------------ ----
UPDATE_JOB_HISTORY STANDARD HARD
ADD_JOB_HISTORY STANDARD HARD
SECURE_DML STANDARD HARD
SECURE_DML DBMS_STANDARD HARD
ADD_JOB_HISTORY SYS_STUB_FOR_PURITY_ANALYSIS HARD
SECURE_DML SYS_STUB_FOR_PURITY_ANALYSIS HARD
UPDATE_JOB_HISTORY ADD_JOB_HISTORY HARD
EMP_DETAILS_VIEW COUNTRIES HARD
EMP_DETAILS_VIEW DEPARTMENTS HARD
UPDATE_JOB_HISTORY EMPLOYEES HARD
EMP_DETAILS_VIEW EMPLOYEES HARD
SECURE_EMPLOYEES EMPLOYEES HARD
EMP_DETAILS_VIEW JOBS HARD
ADD_JOB_HISTORY JOB_HISTORY HARD
EMP_DETAILS_VIEW LOCATIONS HARD
EMP_DETAILS_VIEW REGIONS HARD
SECURE_EMPLOYEES SECURE_DML HARD
17 rows selected.
orcl> You will want to improve the output further: formatting and naming the columns, and perhaps grouping them into object types or using an appropriate order, but I would think you have answered the question. Say "thank you" to Michel.
|
|
|
|
|
|
|
|
|
|
Re: project [message #554603 is a reply to message #554589] |
Tue, 15 May 2012 23:23 |
|
Michel Cadot
Messages: 68645 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
Quote:No you did not
So, your tool is not required.
Quote:so what do you think i should do to get all the direct and indirect depedencies
Use one of the scripts I posted?
Regards
Michel
|
|
|