I am using a D2k 6i form and getting the error on form from stored database(oracle9i) procedure ORA-00001:Unique constraint(.) violated but i m not able to trace out from which procedure it is coming. can anybody help me regarding this
相关问题
- Can I skip certificate verification oracle utl_htt
- Can I skip certificate verification oracle utl_htt
- how to calculate sum time with data type char in o
- keeping one connection to DB or opening closing pe
- System.Data.OracleClient not working with 64 bit O
相关文章
- node连接远程oracle报错
- oracle 11g expdp导出作业调用失败,提示丢包。
- 执行一复杂的SQL语句效率高,还是执行多少简单的语句效率高
- Oracle equivalent of PostgreSQL INSERT…RETURNING *
- Difference between FOR UPDATE OF and FOR UPDATE
- Oracle USING clause best practice
- Is there a method in PL/SQL to convert/encode text
- PHP PDO installation on windows (xampp)
I've come across this pattern after much research, head banging and gnashing of teeth:
The
DBMS_UTILITY.FORMAT_ERROR_STACK
function seems to give the error code and message, andDBMS_UTILITY.FORMAT_ERROR_BACKTRACE
seems to give an honest to goodness stack trace, complete with line numbers and stored procedure names in Oracle 10g at least.I'm not sure if those functions are available in Oracle 9i. I couldn't find much information about this sort of thing even for Oracle 10g, so I thought I would at least post this answer since 9i is quite old (and so it 10g for that matter).
Posting your exception with your question would give us a better idea of what you are confronted with.
Usually an exception will tell you the package and the line number within the error message. From that, you can query the USER_SOURCE table:
It might be useful to know more about the context within which the error was triggered. For that you can use the `BETWEEN' operator:
For posterity, here is the solution the OP found: