advertisements
_____________________________________________________________________________________________________________________
Default Permanent tablespace Syntax
SQL> create tablespace default_tbs datafile '/u01/app/oracle/oradata/dbrepoinf/default_tbs.dbf' size 100m;
Tablespace created.
SQL> alter database default tablespace default_tbs;
Database altered.
SQL> select * from database_properties where property_name like 'DEFAULT_PERMANENT_TABLESPACE';
DEFAULT_PERMANENT_TABLESPACE
DEFAULT_TBS
Name of default permanent tablespace
You cannot drop the default permanent tablespace you will get following error.
SQL> drop tablespace DEFAULT_TBS;
drop tablespace DEFAULT_TBS
*
ERROR at line 1:
ORA-12919: Can not drop the default permanent tablespace
_____________________________________________________________________________________________________________________
0 comments:
Post a Comment