nerdexam
Oracle

1Z0-007 · Question #30

You need to perform certain data manipulation operations through a view called EMP_DEPT_VU, which you previously created. You want to look at the definition of the view (the SELECT statement on…

The correct answer is D. Query the USER_VIEWS data dictionary view to search for the EMP_DEPT_VU view. To look on the view definition you need to query the USER_VIEWS data dictionary view and search for the EMP_DEPT_VU view. Incorrect Answers A: You cannot see the definition of the view using the DESCRIBE command. B: There is no DEFINE VIEW command in Oracle. C: There is no…

Creating and Managing Schema Objects

Question

You need to perform certain data manipulation operations through a view called EMP_DEPT_VU, which you previously created. You want to look at the definition of the view (the SELECT statement on which the view was create.) How do you obtain the definition of the view?

Options

  • AUse the DESCRIBE command in the EMP_DEPT VU view.
  • BUse the DEFINE VIEW command on the EMP_DEPT VU view.
  • CUse the DESCRIBE VIEW command on the EMP_DEPT VU view.
  • DQuery the USER_VIEWS data dictionary view to search for the EMP_DEPT_VU view.
  • EQuery the USER_SOURCE data dictionary view to search for the EMP_DEPT_VU view.
  • FQuery the USER_OBJECTS data dictionary view to search for the EMP_DEPT_VU view.

How the community answered

(40 responses)
  • A
    15% (6)
  • B
    5% (2)
  • D
    73% (29)
  • E
    3% (1)
  • F
    5% (2)

Explanation

To look on the view definition you need to query the USER_VIEWS data dictionary view and search for the EMP_DEPT_VU view. Incorrect Answers A: You cannot see the definition of the view using the DESCRIBE command. B: There is no DEFINE VIEW command in Oracle. C: There is no DESCRIBE VIEW command in Oracle. E: You cannot use the USER_SOURCE data dictionary view to see the definition of your view: it is used to store system objects definitions only. F: You can find record about view in the USER_OBJECTS, but it does not contain the definition of the view itself.

Topics

#USER_VIEWS#data dictionary#view definition#schema objects

Community Discussion

No community discussion yet for this question.

Full 1Z0-007 Practice