create table create any table 这两个权限是不一样的,后者可以创建其他的用户的table
区别还是有的,create table全县只能在本schema内建表,而any table是可以跨schema的。 官方文档如下: CREATE TABLE Create tables in the grantee's schema.
CREATE ANY TABLE Create tables in any schema. The owner of the schema containing the table must have space quota on the tablespace to contain the table.
create any table 可以创建其他schema的table
create table 只能在自己的schema下创建table; create any table 可以在别人的schema下创建table,例如userA执行:create table userB.tableName(n char(1));给用户userb创建表tabelName
create any table
这两个权限是不一样的,后者可以创建其他的用户的table
官方文档如下:
CREATE TABLE
Create tables in the grantee's schema.
CREATE ANY TABLE
Create tables in any schema. The owner of the schema containing the table must have space quota on the tablespace to contain the table.
create any table 可以在别人的schema下创建table,例如userA执行:create table userB.tableName(n char(1));给用户userb创建表tabelName