Answered step by step
Verified Expert Solution
Link Copied!

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

M3b 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
SQL*Plus 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
Well-written code
Code meets requirements
Query the data dictionary to list the tables that are in your schema.
SELECT table_name
FROM user_tables
TABLE_NAMETABLE NAME
STUDENT
THESIS
FACULTY
THESIS_COMMITTEE
Identify the data dictionary views that provide comments on the data.
COLUMN comments FORMAT A40
SELECT table_name, comments
FROM dictionary
WHERE table_name LIKE UPPER('%&table%');
COLUMN comments CLEAR
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions