Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You were just hired as a new junior Oracle database administrator (DBA) to assist a team of five senior database administrators. In your first week,

You were just hired as a new junior Oracle database administrator (DBA) to assist a team of five senior database administrators. In your first week, you were handed the task of writing a script for creating database users. The script will perform the following tasks and conform to the following specifications:

1. Create the following two (2) users with their respective passwords. Please use the exact spelling. (15 points)

User Name Password
DBSEC Tec5363%1
VPD_CLERK1 Jessie#22

The following parameters apply to the above two (2) users.

2. The default table space is USERS. (10 points)

3. The temporary table space is TEMP. (10 points)

4. The user has to change his/her password the first time when he/she log in the database. (10 points)

5. The user account will be assigned to the DEFAULT profile. (10 points)

6. The USERS table space has a 30MB quota. (10 points)

7. At the end of the creation, list the user information that shows a successful creation of the above user account. (15 points)

Tips:

a. You need system privilege to create new user. An easy way is to log in as SYSTEM before running the script. Or, you may use "CONNECT system" or "CONNECT system/&password." Upon running your script, you will enter the password. The password is what you entered in your installation.

b. I generally like to write the script in Notepad or WordPad. In order to test it again and again, it is a good idea to add one statement of dropping the user at the beginning of the script. The drop statement will be like "DROP USER dbsec CASCADE." (See page 79)

c. A database dictionary view "dba_users" can be used to find user information. There are, of course, other ways to do it, which are acceptable as well.

d. Please note that the password specification IS case sensitive even though Oracle SQL statement in general is not case sensitive. Please test it before submission.

e. Exact spelling is critical for any successful collaboration among development team members. Therefore, exact spelling conforming the specification is required for the project and all other projects this semester.

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

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

More Books

Students also viewed these Databases questions