Answered step by step
Verified Expert Solution
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
- Create one Bigfile tablespace for TEMP2. size equal to the size of TEMP
- 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
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