Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on can i get answer for this within the Oracle Certification forums, part of the Certification category; which three statements are true about dependent objects 1.invalid objects cannot be described 2.the oracle server automatically records dependencies among objects 3. all schema objects have status that is recorded ...
|
|||||||
|
|||
|
can i get answer for this
which three statements are true about dependent objects
1.invalid objects cannot be described 2.the oracle server automatically records dependencies among objects 3. all schema objects have status that is recorded in the data dictionary 4.you can view whether an object is valid or invalid in the user_objects data dictionay view |
| The Following User Says Thank You to gujjar For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: can i get answer for this
1.invalid objects cannot be described
3. all schema objects have status that is recorded in the data dictionary 4.you can view whether an object is valid or invalid in the user_objects data dictionay view these are true. |
|
|||
|
Re: can i get answer for this
yeah.. it can not do automatically. we have to create foreign keys to make it record dependencies among objects.( for tables)
|
| The Following User Says Thank You to Barbie For This Useful Post: | ||
|
|||
|
Re: can i get answer for this
Invalid objects can not be described.
Go and try the query desc object to any object that is invalid. It will throws an error like: SQL> desc TES ERROR: ORA-24372: invalid object for describe |
|
|||
|
Re: can i get answer for this
Hi,
1, 2 & 4 are the right answers. 1. Invalid Objects cannot be described, if you try to describe an invalid object using, DESC command, you will get an error, "ORA-24372: invalid object for describe" 2. Oracle automatically records dependencies among objects to reduce the complexity of dependency management. For example, if you alter a table on which several stored procedures depend, Oracle automatically recompiles the dependent procedures the next time when the procedures are referenced. 4.You can view whether an object is valid or invalid in the user_objects data dictionay view using the "STATUS" column of USER_OBJECTS view. *** Innila *** |
|
|||
|
Re: can i get answer for this
hi
here the question is about dependent objects For dependent objects,lets say program unit A (current schema)references Program unit B(remote side located). this means A is dependent on B. so in the current schema both the A and B status will be available? if so,according to my guess then option 3 must be one of correct answer if status of B (becoz located remoteside) is not available in current shema then option 1,2,4 will be correct answers can you clear me this thanks gujjar |
|
|||
|
Re: can i get answer for this
Quote:
Hi, I am very sure about the dependency management (Option 2) rather than Object status. Everybody are considering just the status column of user_objects view, but the option (3. all schema objects have status that is recorded in the data dictionar) is not about the "STATUS" column of "USER_OBJECTS" view. The "STATUS" column of "USER_OBJECTS" consists of only the validity of the object (whether "valid" or "invalid") and does not consists of the cause or the reason why it has become "invalid". The invalid status does'nt inform us whether it has been altered or deleted or any other reason. So i think the actual status is not stored in the data dictionary. *** Innila *** Last edited by Innila; 02-26-2007 at 11:42 PM. |
|
|||
|
Re: can i get answer for this
Hellllllllllll0
again. If 4 is correct then 3 must be correct and if 3 is correct then which data dictionary? Bcos USER_OBJECTS is data dictionary maintained by oracle itself always... so 2 is correct. As per my friend who think that invalid objects cant describe... I have doubt.. I did r&d and observe that some views can invalid status still can be described without any error.. If u observe any package body having invalid status can be described because it will describe package specification (he i dont try with different name of package body and pack specification ) but I am sure what I said about view. Again one additional point is there not "invalid object to desc" always with desc invalid object sometime err msg will "object not exist" |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what is the answer ? | psuresh1982 | Brainteasers | 3 | 01-12-2007 03:02 AM |
| Rapid Answer | nancyphilips | Brainteasers | 2 | 08-11-2006 05:13 AM |
| Think and Answer | fred | Brainteasers | 1 | 08-08-2006 04:22 PM |