Change default tablespace of user
-- Get default tablespace of a user:
oracle configurationintermediate
by OracleDba
13 views
-- Get default tablespace of a user:
1234567891011
set lines 200
col username for a23
select username,DEFAULT_TABLESPACE from dba_users where username='SCOTT';
USERNAME Â Â Â Â Â Â Â DEFAULT_TABLESPACE
----------------------- ------------------------------
SCOTT Â Â Â Â Â Â Â Â Â Â Â Â Â USERS
ALTER USER SCOTT DEFAULT TABLESPACE DATATS;
select username,DEFAULT_TABLESPACE from dba_users where username='SCOTT';
USERNAME Â Â Â Â Â Â Â DEFAULT_TABLESPACE
----------------------- ------------------------------
SCOTT Â Â Â Â Â Â Â Â Â Â Â Â Â DATATSPlease to add comments
No comments yet. Be the first to comment!