The difference between Oracle DB create table and create any tables

 
 

create any table has more authority than create table .

create any table : The former can create a table in any mode, that is, it is allowed to create a table in any table space, including the system table space;

create table  : The latter can only create tables in its own mode, that is, the running user can only create tables in the tablespace for which it has permissions.

The official documentation is as follows:

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.


 
 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324818780&siteId=291194637