4

テーブルを削除しようとすると、エラーが発生します

SQL Error: ORA-00604: error occurred at recursive SQL level 2
ORA-01422: exact fetch returns more than requested number of rows
00604. 00000 -  "error occurred at recursive SQL level %s"
*Cause:    An error occurred while processing a recursive SQL statement
           (a statement applying to internal dictionary tables).
*Action:   If the situation described in the next error on the stack
           can be corrected, do so; otherwise contact Oracle Support.
4

3 に答える 3

1

エラーから次の行に気付きました。

exact fetch returns more than requested number of rows

つまり、Oracle は 1 つの行を予期していましたが、複数の行を取得していました。そして、デュアルテーブルのみがその特性を持ち、1 行のみを返します。

後で思い出すと、デュアル テーブルでいくつかの変更を行い、デュアル テーブルを実行したときのことです。その後、複数の行が見つかりました。

そのため、テーブルを切り捨て、値dualの行のみを挿入しましたX。そして、すべてが正常に機能しています。

于 2015-05-28T06:58:46.073 に答える