2023-07-07 17:04:37 +08:00
|
|
|
ALTER DATABASE mydb1 SET DBPROPERTIES ('creator'='hayden','date'='2023-07-07');
|
|
|
|
|
|
|
|
ALTER SCHEMA myschema1 SET DBPROPERTIES ('creator'='hayden','date'='2023-07-07');
|
|
|
|
|
|
|
|
ALTER DATABASE database_name SET OWNER USER hayden;
|
|
|
|
|
2023-09-06 11:46:46 +08:00
|
|
|
ALTER SCHEMA database_name SET OWNER USER `admin`;
|
2023-07-07 17:04:37 +08:00
|
|
|
|
2023-09-06 11:46:46 +08:00
|
|
|
ALTER DATABASE database_name SET OWNER ROLE jack;
|
2023-07-07 17:04:37 +08:00
|
|
|
|
|
|
|
ALTER SCHEMA database_name SET OWNER ROLE ddladmin;
|
2023-09-06 11:46:46 +08:00
|
|
|
|
|
|
|
ALTER DATABASE database_name SET OWNER zhaoge;
|
|
|
|
|
|
|
|
ALTER SCHEMA database_name SET OWNER zhaogeadmin;
|
2023-07-07 17:04:37 +08:00
|
|
|
|
|
|
|
ALTER DATABASE database_name SET LOCATION '/myhive/mydb';
|
|
|
|
|
|
|
|
ALTER SCHEMA database_name SET LOCATION '/myhive/myschema';
|
|
|
|
|
|
|
|
ALTER DATABASE database_name SET MANAGEDLOCATION '/myhive/myinnerdb';
|
|
|
|
|
|
|
|
ALTER SCHEMA database_name SET MANAGEDLOCATION '/myhive/myinnerschema';
|