Answered step by step
Verified Expert Solution
Question
1 Approved Answer
M 3 b Develop Tools to Make Use of Oracle's Data Dictionary Assignment Develop basic tools to expedite use of Oracle's data dictionary Learning Objectives
Mb Develop Tools to Make Use of Oracle's
Data Dictionary
Assignment
Develop basic tools to expedite use of Oracle's data dictionary
Learning Objectives
Develop and demonstrate SQL and database administration skills
Develop your facility with a data dictionary
Tasks
Write a script that provides all of the information in and duplicates the formatting of Oracle's
SQLPlus describe command. Additionally, the output should add the comments on the rows.
Input: owner and table name. Output: columns for Name, Null?, Type, Comments.
Format
Submit the code to query the data dictionary. You must submit the code as scripts that the instructor
can run from an SQL prompt on an Oracle DBMS Your submission must include a description of the
scripts, their actions, and the order in which they should be run. Your code must not have any "side
effects" that is it must not do anything not listed in the assignment description, and all of its actions
must be described in the program header
Grading Criteria
Wellwritten code
Code meets requirements
Query the data dictionary to list the tables that are in your schema.
SELECT tablename
FROM usertables
TABLENAMETABLE NAME
STUDENT
THESIS
FACULTY
THESISCOMMITTEE
Identify the data dictionary views that provide comments on the data.
COLUMN comments FORMAT A
SELECT tablename, comments
FROM dictionary
WHERE tablename LIKE UPPER&table;
COLUMN comments CLEAR
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started