drop tempdbspace 参数:删除临时 dbspace(SQL 管理 API)

随同 admin()task() 函数,使用 drop tempdbspace 参数来删除指定的临时 dbspace。

语法

元素 描述 关键考虑
tempdbspace 要删除的临时 dbspace 名称。 该临时 dbspace 必须存在。

在您删除临时 dbspace 之前,请删除您之前在该临时 dbspace 中创建的所有数据库和表。

用法

这个函数等同于 onspaces -d 命令。

示例

下列示例删除名为 tdbspace2 的临时 temporary:

EXECUTE FUNCTION task("drop tempdbspace","tdbspace2");