Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ALTER TABLESPACE ...
If you want to get smaller datafile you first should to do:
SQL>TRUNCATE TABLE your_empty_table;
And then:
SQL>ALTER DATABASE DATAFILE 'your_data_file' RESIZE <n>M;
a.metzger_at_nmg.fr wrote:
> Hi,
>
> I have a little problem. I have a tablespace constitued from 2 files.
> My table is empty. I would like to change the size of one of the two
> files ?
> How can I do this with SQLPLUS ?
>
> Regards,
>
> - A. Metzger -
Received on Mon Mar 06 2000 - 03:46:26 CST
![]() |
![]() |