随同 admin() 或 task() 函数,使用 drop dbspace 参数来删除指定的 dbspace。
元素 | 描述 | 关键考虑 |
---|---|---|
dbspace | 要删除的 dbspace 名。 | 该 dbspace 必须存在。
在您删除 dbspace之前,请删除所有您以前在该 dbspace 中创建的数据库和表。 |
这个函数等同于 onspaces -d 命令。
下列示例删除名为 dbspace4 的 dbspace:
EXECUTE FUNCTION task("drop dbspace","dbspace4");