ORA-40121: force option not allowed for drop model in different schema

文档解释

ORA-40121: force option not allowed for drop model in different schema

Cause: The force option was specified, but the model is in a different schema.

Action: If the force option is necessary, run the drop model from the owning schema. If the force option is not necessary, set the force parameter to FALSE.

ORA-40121 “force option not allowed for drop model in different schema” 错误表明当前用户尝试从另一个模式中删除模型时使用了force选项。这是不允许的。

官方解释

ORA-40121 代表 ‘FORCE 选项无效,无法删除从另一个模式中下降的模型’。

常见案例

ORA-40121通常在尝试使用force选项来删除另一个模式中的模型时发生。

一般处理方法及步骤

1.首先,A用户必须拥有对B用户模型所需的足够权限,B用户所有模型都应包含在A用户数据库中。

2.此时,A用户可以从其特定的模式中删除模型,而无需使用force参数。

3.如果要删除一个模型,不能使用force参数,而只用一个参数即可。

你可能感兴趣的