Topic: Database Administration >> Droping DATAFILES from tablespace
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Droping DATAFILES from tablespace |
| deepu |
Posted: Apr 10, 2008 02:28:16 PM |
Total Post: 6
Joined: Mar, 2008
|
Hello friends,
I want to drop a single datafile from a tablespace.
what procedure should i follow?
|
|
|
Murtuja |
| Posted: Apr 11, 2008 12:01:25 AM | |
|
Total Post: 814
Joined: Jan, 2006
|
Hi,
ALTER DATABASE DATAFILE 'file_name' OFFLINE DROP;
Or
ALTER TABLESPACE tablespace_name DROP DATAFILE 'file_name'
|
|
|
|
|
Gitesh |
| Posted: Apr 11, 2008 12:24:39 AM | |
|
Total Post: 322
Joined: May, 2005
|
In above second command won't work prior of Oracle 10g.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 814 |
| Mohammed Taj | 694 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| positive fanatic | 361 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 242 |
| neeraj sharma | 228 |
| Ramesh Jois | 226 |
| snehalatha p | 169 |
|
|