Oracle DB create table 和 create any tables的区别

 
 

create any table 比create table 权限要大。

create any table:前者可以在任何模式下建立表,即允许它在任何表空间里创建表,包括 system表空间;

create table :而后者只能在自己拥有得模式下建立表,即运行用户只能在它有权限的表空间里创建表。

官方文档如下:

CREATE TABLE  Create tables in the grantee's schema.   CREATE ANY TABLE  Create tables in any schema. The owner of the schema containing thetablemust have space quota on the tablespace to contain the table.


 
 

猜你喜欢

转载自blog.csdn.net/qq_36249352/article/details/80063489