Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Tablespace Creation and Reassignment using SQL PLUS (Oracle) It has been determined that user SCOTT should use a new temporary tablespace called TEMP2 size equivalent

Tablespace Creation and Reassignment using SQL PLUS (Oracle)

It has been determined that user "SCOTT" should use a new temporary tablespace called TEMP2 size equivalent to TEMP tablespace (refer to Notes below for determining the size of TEMP). Create a script that performs the following

  1. Create one Bigfile tablespace for TEMP2. size equal to the size of TEMP
  2. Change the default temporary tablespace for "SCOTT" to TEMP2

Notes:

  • The "DESCRIBE" command can be used to determine the fields in a table.
  • Verify the temporary table space for user "SCOTT" by performing query on "user_users" table.
  • Determine details of the temporary tablespace by performing query on "user_tablespaces".
  • The CREATE TABLESPACE command is used to create a temporary big-file tablespace. Details of the command can be found in the "SQL Language Reference" documentation,
  • The "ALTER USER" command can be used to change the temporary tablespace. Details of the command can be found in the "SQL Language Reference" documentation.

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

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions

Question

=+1. What is the difference between a market and a target market?

Answered: 1 week ago

Question

Describe three other types of visual aids.

Answered: 1 week ago