6dad62ddf4
* check and update abort and alter sql * delete superfluous space * update grammar lib after change alter parser * update alter parser to be compatible --------- Co-authored-by: zhaoge <>
23 lines
737 B
SQL
23 lines
737 B
SQL
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;
|
|
|
|
ALTER SCHEMA database_name SET OWNER USER `admin`;
|
|
|
|
ALTER DATABASE database_name SET OWNER ROLE jack;
|
|
|
|
ALTER SCHEMA database_name SET OWNER ROLE ddladmin;
|
|
|
|
ALTER DATABASE database_name SET OWNER zhaoge;
|
|
|
|
ALTER SCHEMA database_name SET OWNER zhaogeadmin;
|
|
|
|
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'; |