Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:
SQLPlus provides utility commands to inspect objects quickly. DESCRIBE (or DESC) is commonly used to reveal a table or view’s columns and datatypes. This question evaluates whether DESC helps you check a table’s “status/structure.”
Given Data / Assumptions:
Concept / Approach:
DESCRIBE table_name shows column names, datatypes, and NULL/NOT NULL information. Although DESC does not display indexes, constraints, or storage parameters, it is a quick structural check. For deeper inspection (for example, constraints, indexes), you query data dictionary views like USER_CONSTRAINTS, USER_INDEXES, and USER_TAB_COLUMNS. In that sense, DESC is indeed a valid way to “check on” the basic structure of a table within SQLPlus sessions.
Step-by-Step Solution:
Verification / Alternative check:
Compare DESC output with USER_TAB_COLUMNS to verify consistency; use SELECT * FROM dictionary views for full metadata coverage.
Why Other Options Are Wrong:
Common Pitfalls:
Expecting DESC to show constraints, indexes, or statistics; confusing DESC with DBA_ dictionary queries.
Final Answer:
Correct
Discussion & Comments