Discussion
Given the following statement
ALTER TABLE employee MOVE TABLESPACE data 1.
The action taken is :
Answer: B
The statement moves the data to a new segment.
In Oracle, ALTER TABLE ... MOVE relocates the data of a non-partitioned table into a new segment, here in the tablespace named in the statement. It is used to change a table's storage or tablespace and to reorganise it, removing fragmentation; the indexes on the table become unusable and must be rebuilt afterwards.
It does not rename a tablespace. It moves the table rather than leaving a copy behind, and it moves the rows, not just the table's structure.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development