Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone please guide me trough this assigment. Thank you Written Assignment Download S5script.sql to c:cis421b. Start sqlplus system/Oracle11 as sysdba. SPOOL c:cis421bs5spool.txt START c:cis421bS5script.sql

Can someone please guide me trough this assigment. Thank you

Written Assignment

Download S5script.sql to c:\cis421b. Start sqlplus system/Oracle11 as sysdba. SPOOL c:\cis421b\s5spool.txt START c:\cis421b\S5script.sql DESC SCOTT.EMP (a table belonging to the user SCOTT.) Create a new table called SCOTT.EMP_RANGE that contains the same columns as the employee table. The partition key is the EMPNO column, and there should be five partitions, all located in the USERS tablespace. Assume that the values in EMPNO start at one, reach 100,000 and are distributed evenly. Remember, EMPNO needs to be adjusted to hold 100000 records.

Submit c:\cis421b\s5spool.txt to the form inside this folder.

So, I have a trouble creating that table what I should insert to have it created?

image text in transcribed

QL SPOOL c:\cis421b\s5spool.txt QL> ALTER USER SCOTT 2 DEFAULT TABLESPACE USERS 3 QUOTA 1eM ON USERS 4 ser altered QL> DESC SCOTT. EMP Name Null? Type NOT NULL NUMBER (4) EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO VARCHAR2 ( 1 ) VARCHAR2 (9) NUMBER(4) DATE NUMBER(7,2) NUMBER(7,2) NUMBER(2) SQL>

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions