Why doesn't Oracle tell you WHICH table or view does not exist?

前端 未结 8 1157
时光取名叫无心
时光取名叫无心 2021-01-31 13:43

If you\'ve used Oracle, you\'ve probably gotten the helpful message \"ORA-00942: Table or view does not exist\". Is there a legitimate technical reason the message doesn\'t incl

8条回答
  •  隐瞒了意图╮
    2021-01-31 14:28

    You can set an EVENT in your parameter file (plain text or spfile) to force Oracle to dump a detailed trace file in the user_dump_dest, the object name might be in there, if not the SQL should be.

    EVENT="942 trace name errorstack level 12"

    If you are using a plain text file you need to keep all your EVENT settings on consecutive lines. Not sure how that applied to spfile.

提交回复
热议问题