Oracle database operations: You can not delete columns in the table belong to the SYS

I. Description of the problem

For security reasons, oracle sys allowed to remove columns in the data table
next offer my solution, if you please help a praise, thank you

Second, the problem is solved

Create a user and give yourself permission before proceeding

1, SQL P lus Login

Input: sys as sysdbaand password
Here Insert Picture Description

2, create a table space

(1) Complex

create tablespace tablespace_name
datafile ‘路径’ size 大小
[autoextend on next 大小]
[maxsize 大小]

autoextend: Table space from growth
maxsize: the maximum table space
(2) simple

 create tablespace tablespace_name datafile 'C:\app\Administrator\oradata\orcl\***.DBF' size 3000m; 
3. Create user
 create user 用户名 identified by 密码 default tablespace 表空间;

Here Insert Picture Description

4, for the authorized users

Reference information about the delegation of authority as follows connection
https://www.cnblogs.com/buxingzhelyd/p/7865194.html (thanks to the author, invasion deleted)

grant dba,connect to 用户名;

Here Insert Picture Description

5, new user connection
 con qiuhua;

Here Insert Picture Description
change the password

passw

Here Insert Picture Description

6, connect to the database with newly created users

Here Insert Picture Description

7, the effect

After the connection in their own user model created, you can perform various operations
Here Insert Picture Description

Published 59 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_27009225/article/details/104053768