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